diff options
author | wiz <wiz@pkgsrc.org> | 2000-03-16 14:22:02 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-03-16 14:22:02 +0000 |
commit | f2817b385ed9e008f367121ac19d902dd97845f9 (patch) | |
tree | 1e3b82b2f30cb13628603d2bb9db8e551b937043 /pkgtools/pkglint | |
parent | 80be0234e101cda760627e5ee9185a243eeb38c4 (diff) | |
download | pkgsrc-f2817b385ed9e008f367121ac19d902dd97845f9.tar.gz |
recognize commands directly after a '@'
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 2ce315527a7..cbb3f14ad8b 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.45 2000/02/12 17:13:53 wiz Exp $ +# $NetBSD: Makefile,v 1.46 2000/03/16 14:22:02 wiz Exp $ # -DISTNAME= pkglint-2.04 +DISTNAME= pkglint-2.05 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index b83ca320b52..c625f94ab41 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -12,7 +12,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.27 2000/02/12 17:13:53 wiz Exp $ +# $NetBSD: pkglint.pl,v 1.28 2000/03/16 14:22:03 wiz Exp $ # # This version contains some changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org> and @@ -715,7 +715,7 @@ EOF $j = $whole; $j =~ s/([ \t][\@-]?)(echo|\$[\{\(]ECHO[\}\)]|\$[\{\(]ECHO_MSG[\}\)])[ \t]+("(\\'|\\"|[^"])*"|'(\\'|\\"|[^'])*')[ \t]*[;\n]/$1$2;/; foreach $i (keys %cmdnames) { - if ($j =~ /[ \t\/]$i[ \t\n;]/) { + if ($j =~ /[ \t\/@]$i[ \t\n;]/) { &perror("WARN: possible direct use of command \"$i\" ". "found. use $cmdnames{$i} instead."); } |