diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2015-04-13 16:54:11 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2015-04-13 16:54:11 (GMT) |
commit | b9298a4fbb009f45eb8186a391a8fff0d9610efd (patch) | |
tree | ff3ac6f97f3153c2f29b17ba58f5607f1a941768 /PC/VS8.0/build.bat | |
parent | c96ac59f59c6be5425c6b756277f6b7841eff209 (diff) | |
download | cpython-b9298a4fbb009f45eb8186a391a8fff0d9610efd.zip cpython-b9298a4fbb009f45eb8186a391a8fff0d9610efd.tar.gz cpython-b9298a4fbb009f45eb8186a391a8fff0d9610efd.tar.bz2 |
Issue #17202: Add .bat to .hgeol to force them to CRLF.
Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks. Who knows why.
Diffstat (limited to 'PC/VS8.0/build.bat')
-rw-r--r-- | PC/VS8.0/build.bat | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/PC/VS8.0/build.bat b/PC/VS8.0/build.bat index 9bc8186..a6d961e 100644 --- a/PC/VS8.0/build.bat +++ b/PC/VS8.0/build.bat @@ -1,17 +1,17 @@ -@echo off -rem A batch program to build or rebuild a particular configuration. -rem just for convenience. - -setlocal -set platf=Win32 -set conf=Release -set build=/build - -:CheckOpts -if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts -if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts -if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts - -set cmd=devenv pcbuild.sln %build% "%conf%|%platf%" -echo %cmd% -%cmd% +@echo off
+rem A batch program to build or rebuild a particular configuration.
+rem just for convenience.
+
+setlocal
+set platf=Win32
+set conf=Release
+set build=/build
+
+:CheckOpts
+if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts
+if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
+if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts
+
+set cmd=devenv pcbuild.sln %build% "%conf%|%platf%"
+echo %cmd%
+%cmd%
|