aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-09-30 03:10:25 +0100
committerMax Howell2009-09-30 03:10:25 +0100
commit55025865eb2f47f00ae701a48289ede7b67cc864 (patch)
tree450e1d1f287f33f8e0b2d40521193309e9fe299a /Library
parent9d3ddfb466253b4d24bba6ab982bf7e0d373bfda (diff)
downloadbrew-55025865eb2f47f00ae701a48289ede7b67cc864.tar.bz2
Fixes Homebrew/homebrew#68, let's not break fresh Homebrew installs
Thanks to boztek for spotting this. I'll commit a test shortly.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/global.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb
index 26975934e..7276e8733 100644
--- a/Library/Homebrew/global.rb
+++ b/Library/Homebrew/global.rb
@@ -35,8 +35,8 @@ else
end
HOMEBREW_PREFIX = (Pathname.getwd+__FILE__).dirname.parent.parent.cleanpath
+HOMEBREW_REPOSITORY = HOMEBREW_PREFIX.realpath
HOMEBREW_CELLAR = HOMEBREW_PREFIX+'Cellar'
-HOMEBREW_REPOSITORY = HOMEBREW_CELLAR.realpath.parent
HOMEBREW_VERSION = 0.4
HOMEBREW_WWW = 'http://bit.ly/Homebrew'