fix test-exec to find sshd-session on Windows

This commit is contained in:
Tess Gauthier 2024-08-09 15:12:16 -04:00
parent 78fa6b269a
commit 18f1991754

View File

@ -96,7 +96,11 @@ SSHKEYGEN=ssh-keygen
SSHKEYSCAN=ssh-keyscan
SFTP=sftp
SFTPSERVER=/usr/libexec/openssh/sftp-server
SSHD_SESSION=/usr/libexec/sshd-session
if [ "$os" == "windows" ]; then
SSHD_SESSION=sshd-session.exe
else
SSHD_SESSION=/usr/libexec/sshd-session
fi
SCP=scp
# Set by make_tmpdir() on demand (below).