Created
March 10, 2014 03:45
-
-
Save zunda/9459138 to your computer and use it in GitHub Desktop.
A patch to Homebrew to preserve source tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Library/Homebrew/extend/fileutils.rb b/Library/Homebrew/extend/fileutils.rb | |
index 7037748..b10b97c 100644 | |
--- a/Library/Homebrew/extend/fileutils.rb | |
+++ b/Library/Homebrew/extend/fileutils.rb | |
@@ -21,7 +21,7 @@ module FileUtils extend self | |
yield | |
ensure | |
cd prevd if prevd | |
- ignore_interrupts{ rm_r tempd } if tempd | |
+ $stderr.puts "Remove #{tempd} if everything went alright" if tempd | |
end | |
# A version of mkdir that also changes to that folder in a block. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment