aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/container
diff options
context:
space:
mode:
authorMarkus Reiter2017-03-08 03:03:49 +0100
committerMarkus Reiter2017-03-08 08:16:16 +0100
commit17bd6fe3cafaa018c61a51b3b86ead40d6d28014 (patch)
tree5f902d359d083dfe13f1b56261c40b13bf0b1cce /Library/Homebrew/cask/lib/hbc/container
parent2691eb6f6501cb34f2e62656418922733b111696 (diff)
downloadbrew-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.rb2
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