aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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