aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-04-20 10:17:14 +0100
committerMike McQuaid2015-04-20 10:17:31 +0100
commit36576333274a609b6546d7f4c05f05909d87cfda (patch)
tree584480483a7c3213bc4a40afad53657240dda85a /Library
parentaf57cffeb0526c57a6f7c93e0967ac1bddf396fa (diff)
downloadbrew-36576333274a609b6546d7f4c05f05909d87cfda.tar.bz2
formula_cellar_checks: ignore memcached shadowing.
Diffstat (limited to 'Library')
-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")