diff options
author | Damien Miller <djm@mindrot.org> | 2008-03-13 12:41:31 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-03-13 12:41:31 +1100 |
commit | c2cefb0fe9b310d4edc3fc28e5aac2e2cfb6d6aa (patch) | |
tree | d774a5b72579a67e800f9061a9f74ff66fac96c5 /regress/test-exec.sh | |
parent | 664299613492f3c1227cba631c3dc0d75965d622 (diff) |
- (djm) [Makefile.in regress/test-exec.sh] Find installed plink(1) and
puttygen(1) by $PATH
Diffstat (limited to 'regress/test-exec.sh')
-rw-r--r-- | regress/test-exec.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 1eb9ff729..cf7665973 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh | |||
@@ -101,10 +101,18 @@ if [ "x$TEST_SSH_SCP" != "x" ]; then | |||
101 | SCP="${TEST_SSH_SCP}" | 101 | SCP="${TEST_SSH_SCP}" |
102 | fi | 102 | fi |
103 | if [ "x$TEST_SSH_PLINK" != "x" ]; then | 103 | if [ "x$TEST_SSH_PLINK" != "x" ]; then |
104 | PLINK="${TEST_SSH_PLINK}" | 104 | # Find real binary, if it exists |
105 | case "${TEST_SSH_PLINK}" in | ||
106 | /*) PLINK="${TEST_SSH_PLINK}" ;; | ||
107 | *) PLINK=`which ${TEST_SSH_PLINK}` ;; | ||
108 | esac | ||
105 | fi | 109 | fi |
106 | if [ "x$TEST_SSH_PUTTYGEN" != "x" ]; then | 110 | if [ "x$TEST_SSH_PUTTYGEN" != "x" ]; then |
107 | PUTTYGEN="${TEST_SSH_PUTTYGEN}" | 111 | # Find real binary, if it exists |
112 | case "${TEST_SSH_PUTTYGEN}" in | ||
113 | /*) PUTTYGEN="${TEST_SSH_PUTTYGEN}" ;; | ||
114 | *) PUTTYGEN=`which ${TEST_SSH_PUTTYGEN}` ;; | ||
115 | esac | ||
108 | fi | 116 | fi |
109 | 117 | ||
110 | # Path to sshd must be absolute for rexec | 118 | # Path to sshd must be absolute for rexec |