]> granicus.if.org Git - python/commitdiff
Since it's impossible to build Python using VC7.1 on a command.com
authorTim Peters <tim.peters@gmail.com>
Mon, 30 Aug 2004 21:27:55 +0000 (21:27 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 30 Aug 2004 21:27:55 +0000 (21:27 +0000)
system, exploit cmd.exe's setlocal function in this directory.

PCbuild/rt.bat

index b3216f700d2196db79322b3a93fc8b8ae1876aca..a5b2e5e8080e18135451bf921409ad6b90a2a8d2 100755 (executable)
 @rem runs
 @rem     python_d ../lib/test/regrtest.py -g test_binascii
 @rem to generate the expected-output file for binascii quickly.
+@setlocal
 @set _exe=python
 @set _qmode=no
 @set _dashO=
-@set _oldpath=%PATH%
 @PATH %PATH%;..\..\tcltk\bin
 @goto CheckOpts
 :Again
@@ -38,8 +38,3 @@
 @pause
 :Qmode
 %_exe% %_dashO% -E -tt ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
-@set _exe=
-@set _qmode=
-@set _dashO=
-@PATH %_oldpath%
-@set _oldpath=