diff options
author | rillig <rillig> | 2005-12-02 08:44:23 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-12-02 08:44:23 +0000 |
commit | 8396826c7e279e71a8828956e3055e794aa2a8a6 (patch) | |
tree | 16a1883bf796a12b162666a39d86e9276f7aa9bd | |
parent | 29e2250f8b356dc26a6ce662395f9637227830c7 (diff) | |
download | pkgsrc-8396826c7e279e71a8828956e3055e794aa2a8a6.tar.gz |
Allow direct use of tool names if the tool name is preceded by "${...}/".
-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 100806ede1b..ff8ce538c81 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -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 @@ sub checklines_direct_tools($) { 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}[^\"]*\"", |