aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/container
diff options
context:
space:
mode:
authorMarkus Reiter2016-08-23 02:36:21 +0200
committerMarkus Reiter2016-08-24 00:43:32 +0200
commit85635a1e1927281edbf55ac0214357fd184c70bc (patch)
tree62139240e7241836e80a690b63a1a5c67e9e98fd /Library/Homebrew/cask/lib/hbc/container
parenta70c60baeacf6ec6835fb0112fb5d1c9dd51012a (diff)
downloadbrew-85635a1e1927281edbf55ac0214357fd184c70bc.tar.bz2
Merge Cask’s `Pathname` extension with Homebrew’s.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/container')
-rw-r--r--Library/Homebrew/cask/lib/hbc/container/gzip.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/container/gzip.rb b/Library/Homebrew/cask/lib/hbc/container/gzip.rb
index 1d2cc1f37..161578162 100644
--- a/Library/Homebrew/cask/lib/hbc/container/gzip.rb
+++ b/Library/Homebrew/cask/lib/hbc/container/gzip.rb
@@ -10,7 +10,7 @@ class Hbc::Container::Gzip < Hbc::Container::Base
def extract
Dir.mktmpdir do |unpack_dir|
@command.run!("/usr/bin/ditto", args: ["--", @path, unpack_dir])
- @command.run!("/usr/bin/gunzip", args: ["--quiet", "--", Pathname.new(unpack_dir).join(@path.basename)])
+ @command.run!("/usr/bin/gunzip", args: ["--quiet", "--name", "--", Pathname.new(unpack_dir).join(@path.basename)])
extract_nested_inside(unpack_dir)
end