Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e2f6899

Browse files
committed
Since it's impossible to build Python using VC7.1 on a command.com
system, exploit cmd.exe's setlocal function in this directory.
1 parent e82b00f commit e2f6899

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

PCbuild/rt.bat

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
@rem runs
1616
@rem python_d ../lib/test/regrtest.py -g test_binascii
1717
@rem to generate the expected-output file for binascii quickly.
18+
@setlocal
1819
@set _exe=python
1920
@set _qmode=no
2021
@set _dashO=
21-
@set _oldpath=%PATH%
2222
@PATH %PATH%;..\..\tcltk\bin
2323
@goto CheckOpts
2424
:Again
@@ -38,8 +38,3 @@
3838
@pause
3939
:Qmode
4040
%_exe% %_dashO% -E -tt ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
41-
@set _exe=
42-
@set _qmode=
43-
@set _dashO=
44-
@PATH %_oldpath%
45-
@set _oldpath=

0 commit comments

Comments
 (0)