diff options
author | rillig <rillig> | 2007-11-29 21:05:29 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-11-29 21:05:29 +0000 |
commit | d98dcbe3c6e6141ba15fe53aa94c9703c6031ddf (patch) | |
tree | 2ff10a447a5d63ac09e27604ea506a6ab11ce26b /pkgtools | |
parent | 0a7622e375e632cc03465720aa17794011ff8193 (diff) | |
download | pkgsrc-d98dcbe3c6e6141ba15fe53aa94c9703c6031ddf.tar.gz |
(typo:) When checking PLIST.common_end and loading PLIST.common,
actually load that file.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 18c9ed3fc6b..f8d7960e990 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.735 2007/11/14 16:03:07 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.736 2007/11/29 21:05:29 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -7363,7 +7363,7 @@ sub checkfile_PLIST($) { my $all_dirs = {}; my $extra_lines = []; if (basename($fname) eq "PLIST.common_end") { - my $common_lines = load_file(dirname($fname) . "PLIST.common"); + my $common_lines = load_file(dirname($fname) . "/PLIST.common"); if ($common_lines) { $extra_lines = $common_lines; } |