diff options
| author | Jack Nagel | 2015-01-22 17:04:38 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-01-22 17:04:38 -0500 |
| commit | 2804e0ed3b94403ca1f09ab9bbb1d03599b41528 (patch) | |
| tree | 80f4075626c5be3379fe87547b34d6aa7b89ce3f | |
| parent | 797820946922d8c043f320adeb4cbaa88abbfcd4 (diff) | |
| download | brew-2804e0ed3b94403ca1f09ab9bbb1d03599b41528.tar.bz2 | |
Hide "Patching" message when there aren't any patches
| -rw-r--r-- | Library/Homebrew/formula.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 2fe8a9eb8..91fae5fea 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -386,8 +386,10 @@ class Formula end def patch - ohai "Patching" - patchlist.each(&:apply) + unless patchlist.empty? + ohai "Patching" + patchlist.each(&:apply) + end end # yields self with current working directory set to the uncompressed tarball |
