diff options
| author | Max Howell | 2009-11-07 18:09:48 +0000 |
|---|---|---|
| committer | Max Howell | 2009-11-08 15:21:14 +0000 |
| commit | 86516e563fd7cd2d3777010d54cb4991acad844f (patch) | |
| tree | f15b78364b5b11867f2650671eabd98540d16a81 /bin | |
| parent | 6b18d5572dd93d9bdde1786d6f7c457d01421dc7 (diff) | |
| download | brew-86516e563fd7cd2d3777010d54cb4991acad844f.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')
| -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" |
