diff options
author | rillig <rillig> | 2006-07-12 19:34:30 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-07-12 19:34:30 +0000 |
commit | 3a88551e23e58b7a405d22152468d7744051398a (patch) | |
tree | a06c85e249c80f155f8ff178c81fdf9d2bd90b00 /pkgtools/pkglint | |
parent | a374925dac444b0838668e0c0c3049cd3e11bcb6 (diff) | |
download | pkgsrc-3a88551e23e58b7a405d22152468d7744051398a.tar.gz |
Added "umask" to the list of known shell commands.
Diffstat (limited to 'pkgtools/pkglint')
-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 03bdf320665..eec401a7cb4 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.644 2006/07/11 12:01:06 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.645 2006/07/12 19:34:30 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -4014,7 +4014,7 @@ sub checkline_mk_shelltext($$) { } elsif ($shellword =~ qr"^\$\{([\w_]+)\}$" && (exists($vartools->{$1}) || (defined($type = get_variable_type($line, $1)) && $type->basic_type eq "ShellCommand"))) { checkline_mk_shellcmd_use($line, $shellword); - } 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)$") { + } elsif ($shellword =~ qr"^(?:\(|\)|:|;|;;|&&|\|\||\{|\}|break|case|cd|continue|do|done|elif|else|esac|eval|exec|exit|export|fi|for|if|read|set|shift|then|umask|unset|while)$") { # Shell builtins are fine. } elsif ($shellword =~ qr"^[\w_]+=.*$") { |