diff options
| author | Mike McQuaid | 2015-04-20 10:17:14 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2015-04-20 10:17:31 +0100 | 
| commit | cddebb2a5dac3618873821009f8388e2997075de (patch) | |
| tree | 8d105d8675d5049a32fe2c99cb4b2e2aa60e0611 /Library/Homebrew | |
| parent | 5e4f4369f34fb56fc9637fbc6376c8e49676259a (diff) | |
| download | homebrew-cddebb2a5dac3618873821009f8388e2997075de.tar.bz2 | |
formula_cellar_checks: ignore memcached shadowing.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula_cellar_checks.rb | 7 | 
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")  | 
