aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
authorJamie Macey2010-10-25 21:12:31 -0700
committerAdam Vandenberg2010-10-30 14:50:54 -0700
commitd778aa69129b914ac393d2cdeab467c48597e406 (patch)
treeba3e538bcd9082eb5b520cf67483d9ae1c97c89a /Library/Homebrew/utils.rb
parent0c7812667417155d92da90b7eda5d4c6d113e631 (diff)
downloadhomebrew-d778aa69129b914ac393d2cdeab467c48597e406.tar.bz2
fix warnings: ambiguous splat
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew/utils.rb')
-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 24846d6b1..e2eb9cb3e 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -161,7 +161,7 @@ def exec_editor *args
# we split the editor because especially on mac "mate -w" is common
# but we still want to use the comma-delimited version of exec because then
# we don't have to escape args, and escaping 100% is tricky
- exec *(editor.split+args)
+ exec(*(editor.split+args))
end
# GZips the given path, and returns the gzipped file