summaryrefslogtreecommitdiff
path: root/regress/dynamic-forward.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-07 09:22:21 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-07 09:22:21 +1000
commit57ac36ffb4a9b168d92a4c978b8550f980f06806 (patch)
treea31e649d012bd5204a3357ecc125601919bc21c3 /regress/dynamic-forward.sh
parent9f18be63ab1f6987c7bd5514e920b99dbeceb79b (diff)
- (dtucker) [agent-ptrace.sh dynamic-forward.sh (all regress/)]
Put "which" inside quotes.
Diffstat (limited to 'regress/dynamic-forward.sh')
-rw-r--r--regress/dynamic-forward.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/dynamic-forward.sh b/regress/dynamic-forward.sh
index afa1f103d..4931e95c9 100644
--- a/regress/dynamic-forward.sh
+++ b/regress/dynamic-forward.sh
@@ -6,9 +6,9 @@ tid="dynamic forwarding"
6PORT=4242 6PORT=4242
7FWDPORT=4243 7FWDPORT=4243
8 8
9if [ -x `which nc 2>&1` ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then 9if [ -x "`which nc 2>&1`" ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then
10 proxycmd="nc -x 127.0.0.1:$FWDPORT -X" 10 proxycmd="nc -x 127.0.0.1:$FWDPORT -X"
11elif [ -x `which connect 2>&1` ]; then 11elif [ -x "`which connect 2>&1`" ]; then
12 proxycmd="connect -S 127.0.0.1:$FWDPORT -" 12 proxycmd="connect -S 127.0.0.1:$FWDPORT -"
13else 13else
14 echo "skipped (no suitable ProxyCommand found)" 14 echo "skipped (no suitable ProxyCommand found)"