summaryrefslogtreecommitdiffstats
path: root/Tools/buildbot/remotePythonInfo.bat
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-06-20 16:33:32 (GMT)
committerSteve Dower <steve.dower@python.org>2019-06-20 16:33:32 (GMT)
commita1952122a3a20272e4db9e3c6205009a91c73ccf (patch)
treeacb89fd0058290e6da2af0dab013e05ca8dddb79 /Tools/buildbot/remotePythonInfo.bat
parent7e1a9aacff95c68d284f31666fe293fa2db5406d (diff)
downloadcpython-a1952122a3a20272e4db9e3c6205009a91c73ccf.zip
cpython-a1952122a3a20272e4db9e3c6205009a91c73ccf.tar.gz
cpython-a1952122a3a20272e4db9e3c6205009a91c73ccf.tar.bz2
bpo-36511: Improve ARM32 buildbot scripts (GH-14251)
Diffstat (limited to 'Tools/buildbot/remotePythonInfo.bat')
-rw-r--r--Tools/buildbot/remotePythonInfo.bat5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/buildbot/remotePythonInfo.bat b/Tools/buildbot/remotePythonInfo.bat
index 263808c..b17717c 100644
--- a/Tools/buildbot/remotePythonInfo.bat
+++ b/Tools/buildbot/remotePythonInfo.bat
@@ -2,6 +2,7 @@
rem Used by the buildbot "remotedeploy" step.
setlocal
+set PATH=%PATH%;%SystemRoot%\SysNative\OpenSSH;%SystemRoot%\System32\OpenSSH
set here=%~dp0
set arm32_ssh=
set suffix=_d
@@ -18,10 +19,10 @@ if "%arm32_ssh%"=="true" goto :Arm32Ssh
:Arm32Ssh
if "%SSH_SERVER%"=="" goto :Arm32SshHelp
-if "%SSH%"=="" if EXIST %WINDIR%\System32\OpenSSH\ssh.exe (set SSH=%WINDIR%\System32\OpenSSH\ssh.exe)
+
set PYTHON_EXE=%prefix%\python%suffix%.exe
echo on
-%SSH% %SSH_SERVER% %PYTHON_EXE% -m test.pythoninfo
+ssh %SSH_SERVER% %PYTHON_EXE% -m test.pythoninfo
exit /b %ERRORLEVEL%
:Arm32SshHelp