summaryrefslogtreecommitdiff
path: root/PCbuild
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-30 21:27:55 +0000
committerTim Peters <tim.peters@gmail.com>2004-08-30 21:27:55 +0000
commite2f6899fd6a1e4cbe9117cc7b2e10dcd34fe310d (patch)
treee1d9b354295feb048ed4a950a0f410a64fc0b76a /PCbuild
parente82b00f14fe9bf31510e55183ea4f3fab9628bf8 (diff)
downloadcpython-git-e2f6899fd6a1e4cbe9117cc7b2e10dcd34fe310d.tar.gz
Since it's impossible to build Python using VC7.1 on a command.com
system, exploit cmd.exe's setlocal function in this directory.
Diffstat (limited to 'PCbuild')
-rwxr-xr-xPCbuild/rt.bat7
1 files changed, 1 insertions, 6 deletions
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat
index b3216f700d..a5b2e5e808 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=