diff options
| author | Xu Cheng | 2015-07-21 22:14:04 +0800 | 
|---|---|---|
| committer | Xu Cheng | 2015-07-22 15:12:31 +0800 | 
| commit | 33befcf312e12496fc1a6b0df531f03d97dfe954 (patch) | |
| tree | 0b057d1e18980f67ac10c43a44feaa296af726b3 /Library/Homebrew/formula.rb | |
| parent | 60600c824cb07b36bc74b7a7f363069f8c29a8ca (diff) | |
| download | brew-33befcf312e12496fc1a6b0df531f03d97dfe954.tar.bz2 | |
tests: fix patching test for no-compat mode
Closes Homebrew/homebrew#41977.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 3a9f37f96..be1fdf532 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -941,7 +941,7 @@ class Formula    end    def prepare_patches -    active_spec.add_legacy_patches(patches) +    active_spec.add_legacy_patches(patches) if respond_to?(:patches)      patchlist.grep(DATAPatch) { |p| p.path = path }  | 
