diff options
| author | Jack Nagel | 2015-01-22 17:04:38 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-01-22 17:04:38 -0500 |
| commit | c51dee75971c2bb0e179a1fb1b8488869a4f0ce5 (patch) | |
| tree | 0ff143d8cf33d87eb23cc0b01d561bb4f9399ccf /Library | |
| parent | 7c575130a590719e8239f7d7d7613b58f2ef8505 (diff) | |
| download | homebrew-c51dee75971c2bb0e179a1fb1b8488869a4f0ce5.tar.bz2 | |
Hide "Patching" message when there aren't any patches
Diffstat (limited to 'Library')
| -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 |
