CREATE_PROJECT: Handle paths with spaces in pre/post-build scripts
This commit is contained in:
parent
a08158a004
commit
c24f0775cd
2 changed files with 5 additions and 5 deletions
|
@ -37,16 +37,16 @@ REM xcopy /F /Y "%~1/dists/engine-data/*.cpt" %~2 1>NUL 2>&1
|
|||
REM xcopy /F /Y "%~1/gui/themes/*.zip" %~2 1>NUL 2>&1
|
||||
REM xcopy /F /Y "%~1/gui/themes/translations.dat" %~2 1>NUL 2>&1
|
||||
|
||||
xcopy /F /Y "%~4/lib/%~3/SDL.dll" %~2 1>NUL 2>&1
|
||||
xcopy /F /Y "%~4/README-SDL" %~2 1>NUL 2>&1
|
||||
xcopy /F /Y "%~4/lib/%~3/SDL.dll" "%~2" 1>NUL 2>&1
|
||||
xcopy /F /Y "%~4/README-SDL" "%~2" 1>NUL 2>&1
|
||||
|
||||
xcopy /F /Y "%~1/backends/vkeybd/packs/vkeybd_default.zip" %~2 1>NUL 2>&1
|
||||
xcopy /F /Y "%~1/backends/vkeybd/packs/vkeybd_default.zip" "%~2" 1>NUL 2>&1
|
||||
|
||||
if "%~5"=="0" goto done
|
||||
|
||||
echo Running installer script
|
||||
echo.
|
||||
@call cscript "%~1/devtools/create_project/scripts/installer.vbs" %~1 %~2 %~3 1>NUL
|
||||
@call cscript "%~1/devtools/create_project/scripts/installer.vbs" "%~1" "%~2" "%~3" 1>NUL
|
||||
if not %errorlevel% == 0 goto error_script
|
||||
goto done
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ if "%~1"=="" goto error_root
|
|||
if "%~2"=="" goto error_target
|
||||
|
||||
REM Run the revision script
|
||||
@call cscript "%~1/devtools/create_project/scripts/revision.vbs" %~1 %~2 1>NUL
|
||||
@call cscript "%~1/devtools/create_project/scripts/revision.vbs" "%~1" "%~2" 1>NUL
|
||||
if not %errorlevel% == 0 goto error_script
|
||||
goto done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue