[openssh-commits] [openssh] 03/03: upstream: Expand $SSH to absolute path if it's not already.
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Dec 6 20:21:23 AEDT 2024
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 11a5e5179077f73c2d45bcdf3f60153ae3f17815
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Fri Dec 6 07:05:54 2024 +0000
upstream: Expand $SSH to absolute path if it's not already.
Prevents problem later in increase_datafile_size if ssh is not in
the path. Patch from quaresmajose via GHPR#510.
OpenBSD-Regress-ID: 2670a66af8b827410ca7139f0a89f4501cece77b
---
regress/test-exec.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index 307f002e..62c00fd8 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: test-exec.sh,v 1.121 2024/10/22 07:13:28 dtucker Exp $
+# $OpenBSD: test-exec.sh,v 1.122 2024/12/06 07:05:54 dtucker Exp $
# Placed in the Public Domain.
#SUDO=sudo
@@ -184,6 +184,11 @@ case "$SSHD" in
*) SSHD=`which $SSHD` ;;
esac
+case "$SSH" in
+/*) ;;
+*) SSH=`which $SSH` ;;
+esac
+
case "$SSHAGENT" in
/*) ;;
*) SSHAGENT=`which $SSHAGENT` ;;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list