From e2f6899fd6a1e4cbe9117cc7b2e10dcd34fe310d Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Mon, 30 Aug 2004 21:27:55 +0000 Subject: [PATCH] Since it's impossible to build Python using VC7.1 on a command.com system, exploit cmd.exe's setlocal function in this directory. --- PCbuild/rt.bat | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat index b3216f700d2..a5b2e5e8080 100755 --- a/PCbuild/rt.bat +++ b/PCbuild/rt.bat @@ -15,10 +15,10 @@ @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=