aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_project/scripts/postbuild.cmd
diff options
context:
space:
mode:
authorLittleboy2011-05-13 01:27:27 -0400
committerLittleboy2011-05-13 15:49:59 -0400
commitc24f0775cd262c789f7d17ea0ed461c57e7c5f6e (patch)
tree584fa433f1a14a4eb506c338fced5523072799ea /devtools/create_project/scripts/postbuild.cmd
parenta08158a004425afb89ca984379c6d27fa71e763b (diff)
downloadscummvm-rg350-c24f0775cd262c789f7d17ea0ed461c57e7c5f6e.tar.gz
scummvm-rg350-c24f0775cd262c789f7d17ea0ed461c57e7c5f6e.tar.bz2
scummvm-rg350-c24f0775cd262c789f7d17ea0ed461c57e7c5f6e.zip
CREATE_PROJECT: Handle paths with spaces in pre/post-build scripts
Diffstat (limited to 'devtools/create_project/scripts/postbuild.cmd')
-rw-r--r--devtools/create_project/scripts/postbuild.cmd8
1 files changed, 4 insertions, 4 deletions
diff --git a/devtools/create_project/scripts/postbuild.cmd b/devtools/create_project/scripts/postbuild.cmd
index 75a916db49..a5051d8228 100644
--- a/devtools/create_project/scripts/postbuild.cmd
+++ b/devtools/create_project/scripts/postbuild.cmd
@@ -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