aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/brew.sh
diff options
context:
space:
mode:
authorMike McQuaid2017-10-29 14:44:43 +0000
committerMike McQuaid2017-10-29 14:44:43 +0000
commitca189437e4d35f9e6c89f4b7955613f708ab3282 (patch)
treed91421a865326f2c15313a621d7a38908d735a2b /Library/Homebrew/brew.sh
parent7caca570736a6232512328992b398270dbbf3f4f (diff)
downloadbrew-ca189437e4d35f9e6c89f4b7955613f708ab3282.tar.bz2
Tweak use of with_env
- Use it in more places where it saves code - Allow using symbolic keys for a cleaner interface - Use `HOMEBREW_GEM_*` instead of `GEM_OLD_*`
Diffstat (limited to 'Library/Homebrew/brew.sh')
-rw-r--r--Library/Homebrew/brew.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh
index b2859c927..241fa1c2e 100644
--- a/Library/Homebrew/brew.sh
+++ b/Library/Homebrew/brew.sh
@@ -70,8 +70,8 @@ then
fi
# Save value to use for installing gems
-export GEM_OLD_HOME="$GEM_HOME"
-export GEM_OLD_PATH="$GEM_PATH"
+export HOMEBREW_GEM_HOME="$GEM_HOME"
+export HOMEBREW_GEM_PATH="$GEM_PATH"
# Users may have these set, pointing the system Ruby
# at non-system gem paths