diff options
| author | Max Howell | 2009-11-07 18:09:48 +0000 |
|---|---|---|
| committer | Max Howell | 2009-11-08 15:21:14 +0000 |
| commit | 1cd83cd2eb84136a079d5086e3cddd2f327c9952 (patch) | |
| tree | bce233708dcc9e5bb70bfa9a60f6d69fa46fba04 /bin/brew | |
| parent | d086ea4029ed16e6ceec63c182098e6e5f5f21ae (diff) | |
| download | homebrew-1cd83cd2eb84136a079d5086e3cddd2f327c9952.tar.bz2 | |
Set ENV[HOMEBREW_BREW_FILE]
Thus install.rb gets the path to the instantiating brew process rather than whichever is first in the PATH. Not to mention Homebrew doesn't *have* to be in the PATH.
Diffstat (limited to 'bin/brew')
| -rwxr-xr-x | bin/brew | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6,6 +6,7 @@ Dir.getwd rescue abort "The current working directory doesn't exist, cannot proceed." HOMEBREW_BREW_FILE = File.expand_path __FILE__ +ENV['HOMEBREW_BREW_FILE'] = HOMEBREW_BREW_FILE def homebrew_rubylib_path lib_path = "/../../Library/Homebrew" |
