Commits

Richard Viney committed 89db3ed Draft

Fixed error on Windows when there is a space in the Python installation directory (http://scons.tigris.org/issues/show_bug.cgi?id=2790)

Comments (0)

Files changed (1)

src/script/scons.bat

 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%