diff options
| author | Mike McQuaid | 2017-06-03 10:00:27 +0100 | 
|---|---|---|
| committer | GitHub | 2017-06-03 10:00:27 +0100 | 
| commit | 34670f9b22a3974c9c0959bfc9e505d1c9d63331 (patch) | |
| tree | bd8529912186ce2abb52d28eb020140b9105e167 /Library/Homebrew/cmd | |
| parent | ff51f6ea426eb7852ed1e04fbbcfd632c518ea72 (diff) | |
| parent | 5dc11c6b932e225650bac7c16f4d2d698740249d (diff) | |
| download | brew-34670f9b22a3974c9c0959bfc9e505d1c9d63331.tar.bz2 | |
Merge pull request #2720 from MikeMcQuaid/install-cask-env-filtering
install: fix cask install with env filtering.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index cc8750cad..a0027c1a5 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -95,9 +95,8 @@ module Homebrew          args << "--verbose" if ARGV.verbose?          ARGV.casks.each do |c| -          cmd = "brew", "cask", "install", c, *args -          ohai cmd.join " " -          system(*cmd) +          ohai "brew cask install #{c} #{args.join " "}" +          system("#{HOMEBREW_PREFIX}/bin/brew", "cask", "install", c, *args)          end        end  | 
