pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files (typo:) When checking PLIST.com...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d664e745a898
branches:  trunk
changeset: 535889:d664e745a898
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Nov 29 21:05:29 2007 +0000

description:
(typo:) When checking PLIST.common_end and loading PLIST.common,
actually load that file.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 10dc83cf75fa -r d664e745a898 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Nov 29 20:57:11 2007 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Nov 29 21:05:29 2007 +0000
@@ -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 @@
        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;
                }



Home | Main Index | Thread Index | Old Index