diff options
author | rillig <rillig@pkgsrc.org> | 2005-12-02 08:44:23 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-12-02 08:44:23 +0000 |
commit | 01461882e8b2535fdec8530b9a31c27edde6f0f1 (patch) | |
tree | 16a1883bf796a12b162666a39d86e9276f7aa9bd /pkgtools | |
parent | 205684d2a52690c2a3e1dda7109980bc00ae2b4a (diff) | |
download | pkgsrc-01461882e8b2535fdec8530b9a31c27edde6f0f1.tar.gz |
Allow direct use of tool names if the tool name is preceded by "${...}/".
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 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}[^\"]*\"", |