From d706bcf153ca09932b9166a4d664a33aed77d693 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 19 Jul 2014 21:52:22 -0500 Subject: [PATCH] Remove the patch from the cache after applying it --- Library/Contributions/cmd/brew-pull.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Contributions/cmd/brew-pull.rb b/Library/Contributions/cmd/brew-pull.rb index 965ff89fd7..15292c7e72 100755 --- a/Library/Contributions/cmd/brew-pull.rb +++ b/Library/Contributions/cmd/brew-pull.rb @@ -79,6 +79,8 @@ ARGV.named.each do |arg| rescue ErrorDuringExecution system 'git', 'am', '--abort' odie 'Patch failed to apply: aborted.' + ensure + patchpath.unlink end changed_formulae = []