From d81ed71f2ac69a16be5894920831fa8ebc56122f Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Mon, 4 Jan 2016 21:36:55 +0100 Subject: [PATCH] premake5: Don't use cross-platform {COPY} token as it generates a faulty condition. --- premake5.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index 4237bd6b..af15b69f 100644 --- a/premake5.lua +++ b/premake5.lua @@ -112,7 +112,7 @@ workspace "iw4x" if _OPTIONS["copy-to"] then saneCopyToPath = string.gsub(_OPTIONS["copy-to"] .. "\\", "\\\\", "\\") postbuildcommands { - "{COPY} \"$(TargetDir)*.dll\" \"" .. saneCopyToPath .. "\"" + "copy /y \"$(TargetDir)*.dll\" \"" .. saneCopyToPath .. "\"" } end