aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAdam Vandenberg2010-09-22 08:59:38 -0700
committerAdam Vandenberg2010-09-29 22:01:17 -0700
commitbfd2ab0f1b8eaf4f236b552a45f44e7c0637ce1b (patch)
treea946c05b16c3b527624c918d61931f45ca47c916 /bin
parenteedaa0d2f0e5707f2e43dd7f94b34883405cf25e (diff)
downloadhomebrew-bfd2ab0f1b8eaf4f236b552a45f44e7c0637ce1b.tar.bz2
Use %w quoting in ENV list
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index d29dff9a1..5ef79903a 100755
--- a/bin/brew
+++ b/bin/brew
@@ -302,7 +302,7 @@ begin
# Check for an external shell command
if system "/usr/bin/which -s brew-#{arg}"
# Add some Homebrew vars to the ENV
- ['CACHE', 'CELLAR', 'LIBRARY_PATH', 'PREFIX', 'REPOSITORY'].each do |e|
+ %w(CACHE CELLAR LIBRARY_PATH PREFIX REPOSITORY).each do |e|
ENV["HOMEBREW_#{e}"] = eval("HOMEBREW_#{e}")
end
exec("brew-#{arg}", *ARGV)