[*] Migrate more hardcoded paths [cont]

This commit is contained in:
Reece Wilson 2022-01-18 21:01:21 +00:00
parent c81f298a99
commit 937f38acfb
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ _G["build"] = auBuild
local luaScript = _OPTIONS["luascript"]
local luaAbsScript = _OPTIONS["luaabsscript"]
if (luaScript) then
auRequireAbs(os.realpath(build.root .. "/Build_UserScripts/" .. luaScript))
auRequireAbs(os.realpath(build.root .. Aurora.Settings.sRelRepoScripts .. "/" .. luaScript))
elseif (luaAbsScript) then
auRequireAbs(path.join(Aurora.Settings.sAbsRoot, luaAbsScript))
end

View File

@ -268,7 +268,7 @@ function JsonProcessor(info)
info.copy_build_files = {}
local function runCopies(prefix, rootPath, name)
local referenceRoot = auGetRoot() .. "/Build_UserScripts/" .. name .. "/"
local referenceRoot = auGetRoot() .. Aurora.Settings.sRelRepoScripts .. "/" .. name .. "/"
local referencePath = referenceRoot .. prefix
local copyRoot = rootPath .. "/" .. prefix