Fixed make.ps1 MOD_SEARCH_PATHS env variable
This commit is contained in:
parent
4ceb3fe31b
commit
293d16be5b
4
make.ps1
4
make.ps1
@ -292,8 +292,8 @@ if (Test-Path "user.config")
|
||||
|
||||
$modID = $env:MOD_ID
|
||||
|
||||
$env:MOD_SEARCH_PATHS = (Get-Item -Path ".\" -Verbose).FullName + "\mods,./mods"
|
||||
$env:ENGINE_DIR = ".."
|
||||
$env:MOD_SEARCH_PATHS = "./mods,$env:ENGINE_DIRECTORY/mods"
|
||||
$env:ENGINE_DIR = ".." # Set to potentially be used by the Utility and different than $env:ENGINE_DIRECTORY, which is for the script.
|
||||
|
||||
# Fetch the engine if required
|
||||
if ($command -eq "all" -or $command -eq "clean" -or $command -eq "check")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user