aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/formula.rb2
-rw-r--r--Library/Homebrew/formula_pin.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 420203167..494024278 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -143,7 +143,7 @@ class Formula
end
def prefix
- HOMEBREW_CELLAR/name/version
+ HOMEBREW_CELLAR+name+version
end
def rack; prefix.parent end
diff --git a/Library/Homebrew/formula_pin.rb b/Library/Homebrew/formula_pin.rb
index eaf1888f9..c809a02b8 100644
--- a/Library/Homebrew/formula_pin.rb
+++ b/Library/Homebrew/formula_pin.rb
@@ -1,13 +1,13 @@
require 'fileutils'
class FormulaPin
- HOMEBREW_PINNED = HOMEBREW_LIBRARY/'PinnedKegs'
+ HOMEBREW_PINNED = HOMEBREW_LIBRARY+'PinnedKegs'
def initialize(formula)
@formula = formula
@name = formula.name
HOMEBREW_PINNED.mkdir unless HOMEBREW_PINNED.exist?
- @path = HOMEBREW_PINNED/@name
+ @path = HOMEBREW_PINNED+@name
end
def pin_at(version)