Skip to content

Instantly share code, notes, and snippets.

Created June 18, 2009 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/132237 to your computer and use it in GitHub Desktop.
Save anonymous/132237 to your computer and use it in GitHub Desktop.
Index: buildplugins.bat
===================================================================
--- buildplugins.bat (revision 21130)
+++ buildplugins.bat (working copy)
@@ -6,7 +6,7 @@
rem Script by chadoe
rem This plugin builds all plugins in the optinal directory provided and copy the builds to BUILD_WIN32 for further packaging
-SET PLUGIN_PATH=%1
+SET PLUGIN_PATH="%1"
SET CUR_PATH=%CD%
ECHO ------------------------------------------------------------
ECHO Compiling plugins...
Index: buildscripts.bat
===================================================================
--- buildscripts.bat (revision 21130)
+++ buildscripts.bat (working copy)
@@ -6,7 +6,7 @@
rem Script by chadoe
rem This script builds all scripts in the optinal directory provided and copy the builds to BUILD_WIN32 for further packaging
-SET SCRIPT_PATH=%1
+SET SCRIPT_PATH="%1"
SET CUR_PATH=%CD%
ECHO ------------------------------------------------------------
ECHO Compiling scripts...
Index: BuildSetup.bat
===================================================================
--- BuildSetup.bat (revision 21141)
+++ BuildSetup.bat (working copy)
@@ -166,9 +166,9 @@
IF EXIST config.ini FOR /F "tokens=* DELIMS=" %%a IN ('FINDSTR/R "=" config.ini') DO SET %%a
IF EXIST error.log del error.log > NUL
- call buildskins.bat %skinpath%
- call buildscripts.bat %scriptpath%
- call buildplugins.bat %pluginpath%
+ call buildskins.bat "%skinpath%"
+ call buildscripts.bat "%scriptpath%"
+ call buildplugins.bat "%pluginpath%"
rem reset variables
SET skinpath=
SET scriptpath=
Index: buildskins.bat
===================================================================
--- buildskins.bat (revision 21130)
+++ buildskins.bat (working copy)
@@ -6,7 +6,7 @@
rem Script by chadoe
rem This script builds the PM3.HD and Project Mayhem III skin and all skins in the optinal directory provided and copy the builds to BUILD_WIN32 for further packaging
-SET SKIN_PATH=%1
+SET SKIN_PATH="%1"
SET CUR_PATH=%CD%
ECHO ------------------------------------------------------------
ECHO Compiling skins...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment