summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2005-08-06 08:08:33 +0000
committerrillig <rillig>2005-08-06 08:08:33 +0000
commit6b362eebbc17498a955f928fe2c164b649a6eec8 (patch)
tree9b0842fa6df4cc9c0a30d23cf48c4d520cbc7af1 /pkgtools
parentb9d8429e2bd6aa3866c50869562664c84d04fa2e (diff)
downloadpkgsrc-6b362eebbc17498a955f928fe2c164b649a6eec8.tar.gz
Code beautification: %{$foo} instead of %$foo.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 6cb3a8eebc2..d8f4f4b33f8 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -11,7 +11,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.228 2005/08/06 02:26:47 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.229 2005/08/06 08:08:33 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -433,12 +433,12 @@ sub parse_multioption($$) {
my ($value, $optdefs) = @_;
foreach my $opt (split(qr",", $value)) {
if ($opt eq "none") {
- foreach my $key (keys %$optdefs) {
+ foreach my $key (keys %{$optdefs}) {
${$optdefs->{$key}->[0]} = false;
}
} elsif ($opt eq "all") {
- foreach my $key (keys %$optdefs) {
+ foreach my $key (keys %{$optdefs}) {
${$optdefs->{$key}->[0]} = true;
}