summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2013-01-28 00:50:22 +0900
committerYukihiro Matz Matsumoto <[email protected]>2013-01-28 00:50:22 +0900
commit0410bb7623a27ac427f190e3144c85b6446bec05 (patch)
tree620c3bd8fa58ca37b78a7fc34da4527baf395741 /Rakefile
parent7cb47fccca8e5149028d21cf13e9f9a516010df4 (diff)
downloadmruby-0410bb7623a27ac427f190e3144c85b6446bec05.tar.gz
mruby-0410bb7623a27ac427f190e3144c85b6446bec05.zip
remove bin/command first to avoid text file busy
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 7d8dd4117..6a04ef87c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -31,6 +31,7 @@ depfiles = MRuby.targets['host'].bins.map do |bin|
install_path = MRuby.targets['host'].exefile("bin/#{bin}")
file install_path => MRuby.targets['host'].exefile("build/host/bin/#{bin}") do |t|
+ FileUtils.rm t.name, :force => true
FileUtils.cp t.prerequisites.first, t.name
end