aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/install.rb
diff options
context:
space:
mode:
authorMax Howell2009-11-07 18:09:48 +0000
committerMax Howell2009-11-08 15:21:14 +0000
commit1cd83cd2eb84136a079d5086e3cddd2f327c9952 (patch)
treebce233708dcc9e5bb70bfa9a60f6d69fa46fba04 /Library/Homebrew/install.rb
parentd086ea4029ed16e6ceec63c182098e6e5f5f21ae (diff)
downloadhomebrew-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 'Library/Homebrew/install.rb')
-rwxr-xr-xLibrary/Homebrew/install.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb
index 887705e70..24fb82148 100755
--- a/Library/Homebrew/install.rb
+++ b/Library/Homebrew/install.rb
@@ -1,6 +1,4 @@
#!/usr/bin/ruby
-HOMEBREW_BREW_FILE = `which brew`.strip
-
require 'global'
def text_for_keg_only_formula f