Commits

Russel Winder committed 2bd2941 Merge

Merge in mainline.

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%