aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-01-22 17:04:38 -0500
committerJack Nagel2015-01-22 17:04:38 -0500
commitc51dee75971c2bb0e179a1fb1b8488869a4f0ce5 (patch)
tree0ff143d8cf33d87eb23cc0b01d561bb4f9399ccf /Library
parent7c575130a590719e8239f7d7d7613b58f2ef8505 (diff)
downloadhomebrew-c51dee75971c2bb0e179a1fb1b8488869a4f0ce5.tar.bz2
Hide "Patching" message when there aren't any patches
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb6
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