pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Allow direct use of tool names ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/218fb5ae0610
branches: trunk
changeset: 503945:218fb5ae0610
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Dec 02 08:44:23 2005 +0000
description:
Allow direct use of tool names if the tool name is preceded by "${...}/".
diffstat:
pkgtools/pkglint/files/pkglint.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r d22ed3234feb -r 218fb5ae0610 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Fri Dec 02 08:26:52 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri Dec 02 08:44:23 2005 +0000
@@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.409 2005/12/02 08:26:52 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.410 2005/12/02 08:44:23 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -2314,7 +2314,7 @@
USE_TOOLS);
my @valid_shellcmds = (
qr"for file in",
- qr"\./${regex_tools}\b",
+ qr"[.}]/${regex_tools}\b",
qr"(?:\./Build|\$\{(?:BJAM_CMD|JAM_COMMAND)\})\s+(?:install|test)",
qr"\$\{(?:GMAKE|MAKE_PROGRAM)\}\s+(?:install)",
qr"\"[^\"]*${regex_tools}[^\"]*\"",
Home |
Main Index |
Thread Index |
Old Index