aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/global.rb
diff options
context:
space:
mode:
authorMax Howell2010-01-16 19:38:27 +0000
committerMax Howell2010-01-16 20:25:50 +0000
commitf2dcec1f70f130a8a5e9ad4ee8a237500a9625fd (patch)
tree2995e32be06fa84beedde4baeb51cf4d92873085 /Library/Homebrew/global.rb
parent127cdfdb536492546be4fe0ec493d3fa809f9aff (diff)
downloadhomebrew-f2dcec1f70f130a8a5e9ad4ee8a237500a9625fd.tar.bz2
Stop raising during the raise ctor
Diffstat (limited to 'Library/Homebrew/global.rb')
-rw-r--r--Library/Homebrew/global.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb
index 92513294f..0113e55dc 100644
--- a/Library/Homebrew/global.rb
+++ b/Library/Homebrew/global.rb
@@ -72,7 +72,7 @@ class ExecutionError <RuntimeError
def pretty args
args.collect do |arg|
- if arg.include? ' '
+ if arg.to_s.include? ' '
"'#{ arg.gsub "'", "\\'" }'"
else
arg