aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2015-04-20 10:17:14 +0100
committerMike McQuaid2015-04-20 10:17:31 +0100
commitcddebb2a5dac3618873821009f8388e2997075de (patch)
tree8d105d8675d5049a32fe2c99cb4b2e2aa60e0611 /Library/Homebrew
parent5e4f4369f34fb56fc9637fbc6376c8e49676259a (diff)
downloadhomebrew-cddebb2a5dac3618873821009f8388e2997075de.tar.bz2
formula_cellar_checks: ignore memcached shadowing.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula_cellar_checks.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb
index 89f3a45f5..2b38b4b22 100644
--- a/Library/Homebrew/formula_cellar_checks.rb
+++ b/Library/Homebrew/formula_cellar_checks.rb
@@ -108,7 +108,12 @@ module FormulaCellarChecks
return if formula.name == formula_name
end
- return if MacOS.version < :mavericks && formula.name.start_with?("postgresql")
+ if MacOS.version < :mavericks &&
+ (formula.name.start_with?("postgresql") ||
+ formula.name.start_with?("memcached"))
+ return
+ end
+
return if formula.keg_only? || !formula.include.directory?
files = relative_glob(formula.include, "**/*.h")