diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2015-04-13 16:59:54 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2015-04-13 16:59:54 (GMT) |
commit | 4c9c848159b63fac440c29ffc2b437e055d355cc (patch) | |
tree | f3cdb4dcbaeb5a36d2122502be07e2fa40f4a45b /PCbuild/idle.bat | |
parent | f3b990e48c698154fb2eaa990ee22a6962e041ac (diff) | |
download | cpython-4c9c848159b63fac440c29ffc2b437e055d355cc.zip cpython-4c9c848159b63fac440c29ffc2b437e055d355cc.tar.gz cpython-4c9c848159b63fac440c29ffc2b437e055d355cc.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 'PCbuild/idle.bat')
-rw-r--r-- | PCbuild/idle.bat | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/PCbuild/idle.bat b/PCbuild/idle.bat index dcb0485..5ab15f5 100644 --- a/PCbuild/idle.bat +++ b/PCbuild/idle.bat @@ -1,15 +1,15 @@ -@echo off -rem start idle -rem Usage: idle [-d] -rem -d Run Debug build (python_d.exe). Else release build. - -setlocal -set exe=python -PATH %PATH%;..\..\tcltk\bin - -if "%1"=="-d" (set exe=python_d) & shift - -set cmd=%exe% ../Lib/idlelib/idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9 - -echo on -%cmd% +@echo off
+rem start idle
+rem Usage: idle [-d]
+rem -d Run Debug build (python_d.exe). Else release build.
+
+setlocal
+set exe=python
+PATH %PATH%;..\..\tcltk\bin
+
+if "%1"=="-d" (set exe=python_d) & shift
+
+set cmd=%exe% ../Lib/idlelib/idle.py %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+echo on
+%cmd%
|