Install builder cannot replace a currently executing binary on Linux - close #112

This commit is contained in:
josh committed 2019-09-28 23:18:31 -04:00
1 parent 48d9273cc6
commit 5378afb6f8
4 files changed
+29

No files matched your search

+1
View File
@@ -57,6 +57,7 @@ module Rscons
printed_message = true
end
@cache.mkdir_p(File.dirname(dest), install: @install_builder)
FileUtils.rm_f(dest)
FileUtils.cp(src, dest, :preserve => true)
end
@cache.register_build(dest, :Copy, [src], @env, install: @install_builder)