diff options
author | stas <stas@FreeBSD.org> | 2011-08-23 17:17:46 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2011-08-23 17:17:46 +0800 |
commit | 2d6358395ee5b0d98423c732a02c759b7037eada (patch) | |
tree | e95fc2ba0f83138017c3234c180e6c27c553bde4 /Tools/scripts | |
parent | a35a31f4a675c854678b790d1beb7f54e24f631f (diff) | |
download | freebsd-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).
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/plist | 6 |
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| |