diff options
| author | Jack Nagel | 2014-09-20 13:53:09 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-20 13:53:09 -0500 |
| commit | 6ad82e65da50b3ebd86dffa3e27e31b0f6dac318 (patch) | |
| tree | fe41dbb45a9b13094f8cc83f0ecdbb310e25df92 /Library | |
| parent | 058f557f6afeeca3f7a21ae91b6339a0fcb408fa (diff) | |
| download | brew-6ad82e65da50b3ebd86dffa3e27e31b0f6dac318.tar.bz2 | |
Don't to_s the cmd parameter in Homebrew.system
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index ede63b5f6..9a95b3c3f 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -105,7 +105,7 @@ module Homebrew pid = fork do yield if block_given? args.collect!{|arg| arg.to_s} - exec(cmd.to_s, *args) rescue nil + exec(cmd, *args) rescue nil exit! 1 # never gets here unless exec failed end Process.wait(pid) |
