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>
This commit is contained in:
Xu Cheng 2015-04-28 16:32:11 +08:00
parent fe588311cc
commit 74ea4bd31c

View File

@ -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