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
commit968a179ea45c83b6d4e446cef1aad5b0d205d262 (patch)
treeada1b264119283c2da01b9dec09e03ed1df48be2 /Library
parent210aa56d4a8508d11e9428dd08a1964a9a4ec3b8 (diff)
downloadhomebrew-968a179ea45c83b6d4e446cef1aad5b0d205d262.tar.bz2
Fixes #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'