From d1b2dd28310337d1301ed83c0d110ee1e03ad9ed Mon Sep 17 00:00:00 2001 From: withmorten Date: Wed, 13 Jan 2021 14:34:58 +0100 Subject: [PATCH] remove scriptspath from premake --- premake5.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/premake5.lua b/premake5.lua index 6c26732c..11a0bbbd 100644 --- a/premake5.lua +++ b/premake5.lua @@ -172,11 +172,10 @@ workspace "reLCS" filter {} - function setpaths (gamepath, exepath, scriptspath) - scriptspath = scriptspath or "" + function setpaths (gamepath, exepath) if (gamepath) then postbuildcommands { - '{COPYFILE} "%{cfg.buildtarget.abspath}" "' .. gamepath .. scriptspath .. '%{cfg.buildtarget.name}"' + '{COPYFILE} "%{cfg.buildtarget.abspath}" "' .. gamepath .. '%{cfg.buildtarget.name}"' } debugdir (gamepath) if (exepath) then @@ -186,7 +185,6 @@ workspace "reLCS" debugdir (gamepath .. (dir or "")) end end - --targetdir ("bin/%{prj.name}/" .. scriptspath) end if(_OPTIONS["with-librw"]) then