mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove bin/command first to avoid text file busy
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user