aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-20 13:53:09 -0500
committerJack Nagel2014-09-20 13:53:09 -0500
commit6ad82e65da50b3ebd86dffa3e27e31b0f6dac318 (patch)
treefe41dbb45a9b13094f8cc83f0ecdbb310e25df92 /Library
parent058f557f6afeeca3f7a21ae91b6339a0fcb408fa (diff)
downloadbrew-6ad82e65da50b3ebd86dffa3e27e31b0f6dac318.tar.bz2
Don't to_s the cmd parameter in Homebrew.system
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils.rb2
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)