pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Added "umask" to the list of kn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c571d7d2ed3b
branches:  trunk
changeset: 516030:c571d7d2ed3b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jul 12 19:34:30 2006 +0000

description:
Added "umask" to the list of known shell commands.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r c6bf3c930f50 -r c571d7d2ed3b pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Wed Jul 12 19:33:58 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Wed Jul 12 19:34:30 2006 +0000
@@ -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 @@
                        } 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_]+=.*$") {



Home | Main Index | Thread Index | Old Index