diff options
| author | Markus Reiter | 2016-08-23 02:36:21 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-08-24 00:43:32 +0200 |
| commit | 85635a1e1927281edbf55ac0214357fd184c70bc (patch) | |
| tree | 62139240e7241836e80a690b63a1a5c67e9e98fd /Library/Homebrew/cask/lib/hbc/container | |
| parent | a70c60baeacf6ec6835fb0112fb5d1c9dd51012a (diff) | |
| download | brew-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.rb | 2 |
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 |
