remove bin/command first to avoid text file busy

This commit is contained in:
Yukihiro Matz Matsumoto
2013-01-28 00:50:22 +09:00
parent 7cb47fccca
commit 0410bb7623
+1
View File
@@ -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