diff options
| author | Markus Reiter | 2017-03-08 03:03:49 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-03-08 08:16:16 +0100 |
| commit | 17bd6fe3cafaa018c61a51b3b86ead40d6d28014 (patch) | |
| tree | 5f902d359d083dfe13f1b56261c40b13bf0b1cce /Library/Homebrew/cask/lib/hbc/container | |
| parent | 2691eb6f6501cb34f2e62656418922733b111696 (diff) | |
| download | brew-17bd6fe3cafaa018c61a51b3b86ead40d6d28014.tar.bz2 | |
Refactor Cask `pkg` artifact.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/container')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/container/dmg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/container/dmg.rb b/Library/Homebrew/cask/lib/hbc/container/dmg.rb index 815f8f010..1b96df4ec 100644 --- a/Library/Homebrew/cask/lib/hbc/container/dmg.rb +++ b/Library/Homebrew/cask/lib/hbc/container/dmg.rb @@ -31,7 +31,7 @@ module Hbc plist = @command.run!("/usr/bin/hdiutil", # realpath is a failsafe against unusual filenames args: %w[mount -plist -nobrowse -readonly -noidme -mountrandom /tmp] + [Pathname.new(@path).realpath], - input: %w[y]) + input: "y\n") .plist @mounts = mounts_from_plist(plist) end |
