diff options
author | Richard Viney <richard.viney@gmail.com> | 2012-08-31 15:17:42 +1200 |
---|---|---|
committer | Richard Viney <richard.viney@gmail.com> | 2012-08-31 15:17:42 +1200 |
commit | e965fe2937000fc912af0e0c238315bcf45a6482 (patch) | |
tree | f1c226e99e779bdd748798ec31726a99b4fbe499 /src/script | |
parent | e7bd33843093affec4fc9d182613248f19ca9e10 (diff) | |
download | scons-e965fe2937000fc912af0e0c238315bcf45a6482.tar.gz |
Fixed error on Windows when there is a space in the Python installation directory (http://scons.tigris.org/issues/show_bug.cgi?id=2790)
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/scons.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/scons.bat b/src/script/scons.bat index b3f2dc28..fddeca46 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%
|