diff options
| author | Mike McQuaid | 2017-10-29 14:44:43 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2017-10-29 14:44:43 +0000 | 
| commit | ca189437e4d35f9e6c89f4b7955613f708ab3282 (patch) | |
| tree | d91421a865326f2c15313a621d7a38908d735a2b /Library/Homebrew/brew.sh | |
| parent | 7caca570736a6232512328992b398270dbbf3f4f (diff) | |
| download | brew-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.sh | 4 | 
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  | 
