premake5: Don't use cross-platform {COPY} token as it generates a faulty condition.

This commit is contained in:
/dev/urandom 2016-01-04 21:36:55 +01:00
parent 2618fc506a
commit d81ed71f2a
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -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