diff --git a/premake5.lua b/premake5.lua index 4a6cc680..64b12d3a 100644 --- a/premake5.lua +++ b/premake5.lua @@ -86,7 +86,7 @@ workspace "re3" scriptspath = scriptspath or "" if (gamepath) then postbuildcommands { - "{COPY} %{cfg.buildtarget.abspath} " .. gamepath .. scriptspath .. "%{cfg.buildtarget.name}" + '{COPY} "%{cfg.buildtarget.abspath}" "' .. gamepath .. scriptspath .. '%{cfg.buildtarget.name}"' } debugdir (gamepath) if (exepath) then