summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-06-15 22:50:31 +0000
committerrillig <rillig@pkgsrc.org>2006-06-15 22:50:31 +0000
commit25d6c134b4f562360cfeb5dbecb1bf5e33af3c15 (patch)
treedae47acf719292eece68e89d9f066f93ca575928 /pkgtools
parent22d20a0454fe1fc9aee4a64c9775b830ce27b6bc (diff)
downloadpkgsrc-25d6c134b4f562360cfeb5dbecb1bf5e33af3c15.tar.gz
"exec" is a known shell command. It is one way to suppress the pkglint
warning, but there will be better ones.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 237bcd1b9a2..ddc07326e46 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.621 2006/06/15 22:22:13 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.622 2006/06/15 22:50:31 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -3463,7 +3463,7 @@ sub checkline_mk_shelltext($$) {
} elsif ($shellword =~ qr"^\$\{([\w_]+)\}$" && (exists($vartools->{$1}) || defined(get_variable_type($line, $1)))) {
# Fine.
- } elsif ($shellword =~ qr"^(?:\(|\)|:|;|;;|&&|\|\||\{|\}|break|case|cd|continue|do|done|elif|else|esac|eval|exit|export|fi|for|if|read|set|shift|then|unset|while)$") {
+ } elsif ($shellword =~ qr"^(?:\(|\)|:|;|;;|&&|\|\||\{|\}|break|case|cd|continue|do|done|elif|else|esac|eval|exec|exit|export|fi|for|if|read|set|shift|then|unset|while)$") {
# Shell builtins are fine.
} elsif ($shellword =~ qr"^[\w_]+=.*$") {