aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2012-01-29 13:03:24 +0000
committerMike McQuaid2012-01-29 13:03:35 +0000
commit5508acc139c8da2ec3ea18127bd4e5ca60f17221 (patch)
tree0e03514f13bfc999a74adbae7e75462f7489cccc
parent62cfa490828bc65cc13666c686b4eb209633af3a (diff)
downloadbrew-5508acc139c8da2ec3ea18127bd4e5ca60f17221.tar.bz2
Bottles should care about cellar path not prefix.
Closes Homebrew/homebrew#9844.
-rw-r--r--Library/Homebrew/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index e22df05a8..ac960f257 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -400,7 +400,7 @@ module MacOS extend self
end
def bottles_supported?
- lion? and HOMEBREW_PREFIX.to_s == '/usr/local'
+ lion? and HOMEBREW_CELLAR.to_s == '/usr/local/Cellar'
end
end