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
commit7adf1c80bd60d51d87836609842c9e575f45ab6a (patch)
treeb2b27969fbf05e943bad3a2994d0ab7b082bd633 /bin
parentf50f2f8d52946f97f56d0a1131fa3c1b5c2863e1 (diff)
downloadbrew-7adf1c80bd60d51d87836609842c9e575f45ab6a.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)