Commit 1e63a155 authored by James Larrowe's avatar James Larrowe Committed by Ed Reel

Fix _veropt (#3233)

Fix _veropt at @uberhacker's suggestion
parent 43329271
......@@ -448,8 +448,8 @@ def unpack (meta)
case File.basename meta[:filename]
when /\.zip$/i
puts "Unpacking archive using 'unzip', this may take a while..."
_verbopt = @opt_verbose ? 'v' : 'qq'
system "unzip", '-' + _verbopt, "-d", "#{extract_dir}", meta[:filename]
_verbopt = @opt_verbose ? '-v' : '-qq'
system "unzip", _verbopt, "-d", "#{extract_dir}", meta[:filename]
when /\.(tar(\.(gz|bz2|xz|lz))?|tgz|tbz)$/i
puts "Unpacking archive using 'tar', this may take a while..."
_verbopt = @opt_verbose ? 'v' : ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment