summaryrefslogtreecommitdiffstats
path: root/PCbuild/rt.bat
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-18 00:31:44 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-18 00:31:44 (GMT)
commit90387ff4b0caf02e74dacc5d042360a88b5e19d0 (patch)
treef7860ac27594a625cc069b5479d15023fecb2d85 /PCbuild/rt.bat
parent6c9c09058f78a5f7e32090c1091409c7a5fa00a3 (diff)
downloadcpython-90387ff4b0caf02e74dacc5d042360a88b5e19d0.zip
cpython-90387ff4b0caf02e74dacc5d042360a88b5e19d0.tar.gz
cpython-90387ff4b0caf02e74dacc5d042360a88b5e19d0.tar.bz2
regrtest.py now runs python in build/test_python_xxx. (deeper than here)
So failed to load tcl/tk dll because $(dist)/tcltk/bin was set to PATH as relative path. (Windows)
Diffstat (limited to 'PCbuild/rt.bat')
-rw-r--r--PCbuild/rt.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat
index f3c4829..7129e20 100644
--- a/PCbuild/rt.bat
+++ b/PCbuild/rt.bat
@@ -38,7 +38,7 @@ if "%1"=="-q" (set qmode=yes) & shift & goto CheckOpts
if "%1"=="-d" (set suffix=_d) & shift & goto CheckOpts
if "%1"=="-x64" (set prefix=amd64) & (set tcltk=tcltk64) & shift & goto CheckOpts
-PATH %PATH%;..\..\%tcltk%\bin
+PATH %PATH%;%~dp0..\..\%tcltk%\bin
set exe=%prefix%\python%suffix%
set cmd=%exe% %dashO% -Wd -E -bb ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
if defined qmode goto Qmode