From 2804e0ed3b94403ca1f09ab9bbb1d03599b41528 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 22 Jan 2015 17:04:38 -0500 Subject: Hide "Patching" message when there aren't any patches --- Library/Homebrew/formula.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3