aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2015-04-28 16:32:11 +0800
committerXu Cheng2015-05-01 15:21:58 +0800
commit74ea4bd31c44fec56b76aa0e6816003322e905d6 (patch)
treef29fdc3a055c5697c8cefd70af04e2ecf13fae61
parentfe588311cc7894818d6a6e9a8d916d26c47a0b47 (diff)
downloadbrew-74ea4bd31c44fec56b76aa0e6816003322e905d6.tar.bz2
fileutils: use rm_rf to clean temp dir
Honestly, I don't know why git is broken under sandbox. But this seems fix the problem in Homebrew/homebrew#38978. Closes Homebrew/homebrew#39138. Signed-off-by: Xu Cheng <xucheng@me.com>
-rw-r--r--Library/Homebrew/extend/fileutils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/fileutils.rb b/Library/Homebrew/extend/fileutils.rb
index a29128378..4778d9039 100644
--- a/Library/Homebrew/extend/fileutils.rb
+++ b/Library/Homebrew/extend/fileutils.rb
@@ -19,7 +19,7 @@ module FileUtils
cd(prev)
end
ensure
- ignore_interrupts { rm_r(tmp) }
+ ignore_interrupts { rm_rf(tmp) }
end
end
module_function :mktemp