pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Prepared pkglint for the upcomi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/060a414b8017
branches: trunk
changeset: 537126:060a414b8017
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Jan 04 01:43:56 2008 +0000
description:
Prepared pkglint for the upcoming cleanup of the .include directives in
mk/*.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 10cd3858a7ef -r 060a414b8017 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Fri Jan 04 01:25:51 2008 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri Jan 04 01:43:56 2008 +0000
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.745 2008/01/03 16:16:22 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.746 2008/01/04 01:43:56 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -2327,7 +2327,7 @@
foreach my $line (@{$lines}) {
if ($line->text =~ regex_mk_include) {
my ($includefile) = ($1);
- if ($includefile =~ qr"^\$\{PKGSRCDIR\}/mk/tools/(.*)$") {
+ if ($includefile =~ qr"^(?:\$\{PKGSRCDIR\}/mk/tools/)?([^/]+)$") {
push(@tool_files, $1);
}
}
Home |
Main Index |
Thread Index |
Old Index