aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_cellar_checks.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/formula_cellar_checks.rb')
-rw-r--r--Library/Homebrew/formula_cellar_checks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb
index 4718fc1a0..3dbd1b9c4 100644
--- a/Library/Homebrew/formula_cellar_checks.rb
+++ b/Library/Homebrew/formula_cellar_checks.rb
@@ -20,7 +20,7 @@ module FormulaCellarChecks
def check_manpages
# Check for man pages that aren't in share/man
- return unless (formula.prefix/"man").directory?
+ return unless (formula.prefix+"man").directory?
<<-EOS.undent
A top-level "man" directory was found
@@ -31,7 +31,7 @@ module FormulaCellarChecks
def check_infopages
# Check for info pages that aren't in share/info
- return unless (formula.prefix/"info").directory?
+ return unless (formula.prefix+"info").directory?
<<-EOS.undent
A top-level "info" directory was found