aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-19 21:52:22 -0500
committerJack Nagel2014-07-19 21:55:02 -0500
commitd706bcf153ca09932b9166a4d664a33aed77d693 (patch)
treeb4230790070f780bf7131bd7a0cfeff403d3c30e /Library
parent01be861debf5a768c87775768e55bb76396004c4 (diff)
downloadbrew-d706bcf153ca09932b9166a4d664a33aed77d693.tar.bz2
Remove the patch from the cache after applying it
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-pull.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-pull.rb b/Library/Contributions/cmd/brew-pull.rb
index 965ff89fd..15292c7e7 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 = []