aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2011-08-23 17:17:46 +0800
committerstas <stas@FreeBSD.org>2011-08-23 17:17:46 +0800
commit2d6358395ee5b0d98423c732a02c759b7037eada (patch)
treee95fc2ba0f83138017c3234c180e6c27c553bde4
parenta35a31f4a675c854678b790d1beb7f54e24f631f (diff)
downloadfreebsd-ports-gnome-2d6358395ee5b0d98423c732a02c759b7037eada.tar.gz
freebsd-ports-gnome-2d6358395ee5b0d98423c732a02c759b7037eada.tar.zst
freebsd-ports-gnome-2d6358395ee5b0d98423c732a02c759b7037eada.zip
- Fix options processing (optparse puts options into hash indexed by strings,
not symbols).
-rwxr-xr-xTools/scripts/plist6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/plist b/Tools/scripts/plist
index 72c3ffe38118..e092b158bf13 100755
--- a/Tools/scripts/plist
+++ b/Tools/scripts/plist
@@ -127,9 +127,9 @@ USAGE_EOF
if ARGV.size != 1
usage
end
- mtree = params[:m] || '/etc/mtree/BSD.local.dist'
- pl = Plist.new(!params[:M], Mtree.read(mtree).paths).make(ARGV[0])
- if params[:d]
+ mtree = params['m'] || '/etc/mtree/BSD.local.dist'
+ pl = Plist.new(!params['M'], Mtree.read(mtree).paths).make(ARGV[0])
+ if params['d']
plnotdirrm = []
pldirrm = []
pl.each {|ent|