aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/global.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/global.rb')
-rw-r--r--Library/Homebrew/global.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb
index 0ab17cc2a..209f42e75 100644
--- a/Library/Homebrew/global.rb
+++ b/Library/Homebrew/global.rb
@@ -27,10 +27,10 @@ HOMEBREW_REPOSITORY = Pathname.new(HOMEBREW_BREW_FILE).realpath.dirname.parent #
# Where we store built products; /usr/local/Cellar if it exists,
# otherwise a Cellar relative to the Repository.
-HOMEBREW_CELLAR = if (HOMEBREW_PREFIX/"Cellar").exist?
- HOMEBREW_PREFIX/"Cellar"
+HOMEBREW_CELLAR = if (HOMEBREW_PREFIX+"Cellar").exist?
+ HOMEBREW_PREFIX+"Cellar"
else
- HOMEBREW_REPOSITORY/"Cellar"
+ HOMEBREW_REPOSITORY+"Cellar"
end
MACOS_FULL_VERSION = `/usr/bin/sw_vers -productVersion`.chomp