mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-02 21:11:57 +00:00
* Fix PreCompile.bat failing with spaced paths (#58184) * Fix PreCompile.bat failing with spaced paths * Undo spacification * Fix PreCompile.bat failing with spaced paths Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
16 lines
361 B
Batchfile
16 lines
361 B
Batchfile
@echo off
|
|
cd /D "%~dp0"
|
|
set TG_BOOTSTRAP_CACHE=%cd%
|
|
IF NOT %1 == "" (
|
|
rem TGS4: we are passed the game directory on the command line
|
|
cd %1
|
|
) ELSE IF EXIST "..\Game\B\tgstation.dmb" (
|
|
rem TGS3: Game/B/tgstation.dmb exists, so build in Game/A
|
|
cd ..\Game\A
|
|
) ELSE (
|
|
rem TGS3: Otherwise build in Game/B
|
|
cd ..\Game\B
|
|
)
|
|
set CBT_BUILD_MODE=TGS
|
|
tools\build\build
|