rillig clarified:
"u" means "use at runtime", i.e. the variable may not be available during preprocessing. "t" wasn't used at all (my error -- wiz) Bump version.
This commit is contained in:
parent
ca3233f414
commit
e11a59a32e
2 changed files with 4 additions and 5 deletions
|
@ -1,9 +1,9 @@
|
|||
# $NetBSD: Makefile,v 1.429 2013/05/06 02:53:24 obache Exp $
|
||||
# $NetBSD: Makefile,v 1.430 2013/05/26 18:09:23 wiz Exp $
|
||||
|
||||
# Note: if you update the version number, please have a look at the
|
||||
# changes between the CVS tag "pkglint_current" and HEAD.
|
||||
# After updating, please re-set the CVS tag to HEAD.
|
||||
DISTNAME= pkglint-4.129
|
||||
DISTNAME= pkglint-4.130
|
||||
CATEGORIES= pkgtools
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#! @PERL@
|
||||
# $NetBSD: pkglint.pl,v 1.855 2013/05/06 02:53:25 obache Exp $
|
||||
# $NetBSD: pkglint.pl,v 1.856 2013/05/26 18:09:24 wiz Exp $
|
||||
#
|
||||
|
||||
# pkglint - static analyzer and checker for pkgsrc packages
|
||||
|
@ -3707,8 +3707,7 @@ sub checkline_mk_shellcmd($$) {
|
|||
|
||||
sub expand_permission($) {
|
||||
my ($perm) = @_;
|
||||
# wiz 20120826: IIUC, "u" is the permission for the variable to be used at all here; no need to expand it
|
||||
my %fullperm = ( "a" => "append", "d" => "default", "p" => "preprocess", "s" => "set", "t" => "runtime", "?" => "unknown", "u" => "" );
|
||||
my %fullperm = ( "a" => "append", "d" => "default", "p" => "preprocess", "s" => "set", "u" => "runtime", "?" => "unknown" );
|
||||
my $result = join(", ", map { $fullperm{$_} } split //, $perm);
|
||||
$result =~ s/, $//g;
|
||||
|
||||
|
|
Loading…
Reference in a new issue