diff options
author | Steven Knight <knight@baldmt.com> | 2006-04-15 04:13:38 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2006-04-15 04:13:38 (GMT) |
commit | dd4743b9091219fb1283e2624de8b4cab2c120f5 (patch) | |
tree | 53d112bdfe1a0608d3441a2b8b649b731b09c345 /src/script | |
parent | f4f080107ba2bfdab4bffbc7e243c6228f4acd88 (diff) | |
download | SCons-dd4743b9091219fb1283e2624de8b4cab2c120f5.zip SCons-dd4743b9091219fb1283e2624de8b4cab2c120f5.tar.gz SCons-dd4743b9091219fb1283e2624de8b4cab2c120f5.tar.bz2 |
Fix line endings on DOS files that want CRLF preserved.
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/scons.bat | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/script/scons.bat b/src/script/scons.bat index 015cfc6..9e45a91 100644 --- a/src/script/scons.bat +++ b/src/script/scons.bat @@ -1,15 +1,15 @@ -@REM __COPYRIGHT__ -@REM __FILE__ __REVISION__ __DATE__ __DEVELOPER__ -@echo off -if "%OS%" == "Windows_NT" goto WinNT -REM for 9x/Me you better not have more than 9 args -python -c "from os.path import join; import sys; sys.path = [ join(sys.prefix, 'Lib', 'site-packages', 'scons-__VERSION__'), join(sys.prefix, 'Lib', 'site-packages', 'scons'), join(sys.prefix, 'scons-__VERSION__'), join(sys.prefix, 'scons')] + sys.path; import SCons.Script; SCons.Script.main()" %1 %2 %3 %4 %5 %6 %7 %8 %9 -@REM no way to set exit status of this script for 9x/Me -goto endscons -:WinNT -python -c "from os.path import join; import sys; sys.path = [ join(sys.prefix, 'Lib', 'site-packages', 'scons-__VERSION__'), join(sys.prefix, 'Lib', 'site-packages', 'scons'), join(sys.prefix, 'scons-__VERSION__'), join(sys.prefix, 'scons')] + sys.path; import SCons.Script; SCons.Script.main()" %* -if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endscons -if errorlevel 9009 echo you do not have python in your PATH -@REM color 00 causes this script to exit with non-zero exit status -if errorlevel 1 color 00 -:endscons +@REM __COPYRIGHT__
+@REM __FILE__ __REVISION__ __DATE__ __DEVELOPER__
+@echo off
+if "%OS%" == "Windows_NT" goto WinNT
+REM for 9x/Me you better not have more than 9 args
+python -c "from os.path import join; import sys; sys.path = [ join(sys.prefix, 'Lib', 'site-packages', 'scons-__VERSION__'), join(sys.prefix, 'Lib', 'site-packages', 'scons'), join(sys.prefix, 'scons-__VERSION__'), join(sys.prefix, 'scons')] + sys.path; import SCons.Script; SCons.Script.main()" %1 %2 %3 %4 %5 %6 %7 %8 %9
+@REM no way to set exit status of this script for 9x/Me
+goto endscons
+:WinNT
+python -c "from os.path import join; import sys; sys.path = [ join(sys.prefix, 'Lib', 'site-packages', 'scons-__VERSION__'), join(sys.prefix, 'Lib', 'site-packages', 'scons'), join(sys.prefix, 'scons-__VERSION__'), join(sys.prefix, 'scons')] + sys.path; import SCons.Script; SCons.Script.main()" %*
+if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endscons
+if errorlevel 9009 echo you do not have python in your PATH
+@REM color 00 causes this script to exit with non-zero exit status
+if errorlevel 1 color 00
+:endscons
|