diff options
| author | Jack Nagel | 2014-09-20 13:53:09 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-09-20 13:53:09 -0500 | 
| commit | 50626e4f435515930a76f7a2b388167e6f0f0332 (patch) | |
| tree | a780f32e5a98b5012375aade0b9951993e8a38ee /Library/Homebrew/utils.rb | |
| parent | db1733f9a0d19cd47cb3be80e529087d5213e4f1 (diff) | |
| download | homebrew-50626e4f435515930a76f7a2b388167e6f0f0332.tar.bz2 | |
Don't to_s the cmd parameter in Homebrew.system
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -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)  | 
