From 71e49a9594f1ece94cc9011647ba81018338259e Mon Sep 17 00:00:00 2001 From: Richard Viney Date: Fri, 31 Aug 2012 15:17:42 +1200 Subject: Fixed error on Windows when there is a space in the Python installation directory (http://scons.tigris.org/issues/show_bug.cgi?id=2790) --- src/script/scons.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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% -- cgit v0.12