summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2012-09-02 10:44:41 (GMT)
committerRussel Winder <russel@winder.org.uk>2012-09-02 10:44:41 (GMT)
commitcd152a3794f5d7ccbb5aa938ea5c4390b42b3383 (patch)
treec685878b5c77e7404108a76fbe950d7c2fc1e741
parent8d266ff2aa3fb3dbb989d2a5c39e8769b0e989f8 (diff)
parent71e49a9594f1ece94cc9011647ba81018338259e (diff)
downloadSCons-cd152a3794f5d7ccbb5aa938ea5c4390b42b3383.zip
SCons-cd152a3794f5d7ccbb5aa938ea5c4390b42b3383.tar.gz
SCons-cd152a3794f5d7ccbb5aa938ea5c4390b42b3383.tar.bz2
Merge in mainline.
-rw-r--r--src/script/scons.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/scons.bat b/src/script/scons.bat
index b3f2dc2..fddeca4 100644
--- a/src/script/scons.bat
+++ b/src/script/scons.bat
@@ -19,7 +19,7 @@ setlocal
set path=%~dp0;%~dp0..;%path%
@REM try the script named as the .bat file in current dir, then in Scripts subdir
set scriptname=%~dp0%~n0.py
-if not exist %scriptname% set scriptname=%~dp0Scripts\%~n0.py
+if not exist "%scriptname%" set scriptname=%~dp0Scripts\%~n0.py
python "%scriptname%" %*
endlocal & set SCONS_ERRORLEVEL=%ERRORLEVEL%