Skip to content

Commit

Permalink
upstream: Expand $SSH to absolute path if it's not already.
Browse files Browse the repository at this point in the history
Prevents problem later in increase_datafile_size if ssh is not in
the path.  Patch from quaresmajose via GHPR#510.

OpenBSD-Regress-ID: 2670a66af8b827410ca7139f0a89f4501cece77b
  • Loading branch information
daztucker committed Dec 6, 2024
1 parent dc2ef8f commit 11a5e51
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion regress/test-exec.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -184,6 +184,11 @@ case "$SSHD" in
*) SSHD=`which $SSHD` ;;
esac

case "$SSH" in
/*) ;;
*) SSH=`which $SSH` ;;
esac

case "$SSHAGENT" in
/*) ;;
*) SSHAGENT=`which $SSHAGENT` ;;
Expand Down

0 comments on commit 11a5e51

Please sign in to comment.