diff options
| author | Max Howell | 2009-11-07 18:08:26 +0000 |
|---|---|---|
| committer | Max Howell | 2009-11-08 15:21:14 +0000 |
| commit | 6b18d5572dd93d9bdde1786d6f7c457d01421dc7 (patch) | |
| tree | 93403c42ed0f5f1f62de96789a9f47575e8745e0 /Library | |
| parent | 4266d6c1c7e09f5856819806c99efbfd388b21b8 (diff) | |
| download | brew-6b18d5572dd93d9bdde1786d6f7c457d01421dc7.tar.bz2 | |
Rename BREW_FILE HOMEBREW_BREW_FILE
Because it's a global.h constant and that file can be included by other projects.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/global.rb | 4 | ||||
| -rwxr-xr-x | Library/Homebrew/install.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 8b9aba4b2..52f3dd6a8 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -38,8 +38,8 @@ else HOMEBREW_CACHE=Pathname.new("~/Library/Caches/Homebrew").expand_path end -HOMEBREW_PREFIX = Pathname.new(BREW_FILE).dirname.parent # Where we link under -HOMEBREW_REPOSITORY = Pathname.new(BREW_FILE).realpath.dirname.parent # Where .git is found +HOMEBREW_PREFIX = Pathname.new(HOMEBREW_BREW_FILE).dirname.parent # Where we link under +HOMEBREW_REPOSITORY = Pathname.new(HOMEBREW_BREW_FILE).realpath.dirname.parent # Where .git is found # Where should be build to? # If /usr/local/Cellar exists, as a symlink or real folder, use that. diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 3c7ca6c90..887705e70 100755 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -1,5 +1,5 @@ #!/usr/bin/ruby -BREW_FILE = `which brew`.strip +HOMEBREW_BREW_FILE = `which brew`.strip require 'global' |
