diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-09-07 09:22:21 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-09-07 09:22:21 +1000 |
commit | 57ac36ffb4a9b168d92a4c978b8550f980f06806 (patch) | |
tree | a31e649d012bd5204a3357ecc125601919bc21c3 /regress/dynamic-forward.sh | |
parent | 9f18be63ab1f6987c7bd5514e920b99dbeceb79b (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.sh | 4 |
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" | |||
6 | PORT=4242 | 6 | PORT=4242 |
7 | FWDPORT=4243 | 7 | FWDPORT=4243 |
8 | 8 | ||
9 | if [ -x `which nc 2>&1` ] && nc -h 2>&1 | grep "x proxy address" >/dev/null; then | 9 | if [ -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" |
11 | elif [ -x `which connect 2>&1` ]; then | 11 | elif [ -x "`which connect 2>&1`" ]; then |
12 | proxycmd="connect -S 127.0.0.1:$FWDPORT -" | 12 | proxycmd="connect -S 127.0.0.1:$FWDPORT -" |
13 | else | 13 | else |
14 | echo "skipped (no suitable ProxyCommand found)" | 14 | echo "skipped (no suitable ProxyCommand found)" |