aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-14 15:48:35 -0700
committerAdam Vandenberg2011-03-14 15:48:35 -0700
commite00e8747a8b7a2ade0414d5264fce670d0ea381f (patch)
tree32a3a03791d359cf62476464eb6a25d577988171 /Library/Homebrew/exceptions.rb
parente255210be8c2aeddcc7a48e657a39e026f815e11 (diff)
downloadhomebrew-e00e8747a8b7a2ade0414d5264fce670d0ea381f.tar.bz2
Fix reporting of build errors.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 0a4f74e4c..32492c6be 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -108,7 +108,7 @@ class BuildError < Homebrew::InstallationError
@command = cmd
@env = ENV.to_hash
@exit_status = es.exitstatus rescue 1
- args = args.map{ |arg| arg.gsub " ", "\\ " }.join(" ")
+ args = args.map{ |arg| arg.to_s.gsub " ", "\\ " }.join(" ")
super formula, "Failed executing: #{command} #{args}"
end