diff options
author | rillig <rillig@pkgsrc.org> | 2007-11-29 21:05:29 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-11-29 21:05:29 +0000 |
commit | 7c9d37db1d30cc3423287b1841dc1a5cb96bbaf4 (patch) | |
tree | 2ff10a447a5d63ac09e27604ea506a6ab11ce26b /pkgtools | |
parent | 93551bdb7efc7a203c4116831d2f95057709d238 (diff) | |
download | pkgsrc-7c9d37db1d30cc3423287b1841dc1a5cb96bbaf4.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; } |