diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2021-08-08 10:27:28 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-08-08 10:43:41 +0200 |
commit | 86b4cb3a884846b358305aad17a6ef53045fa41f (patch) | |
tree | 1ed1fff3d410b31532d79aef6cdf5dea82cffab2 /regress/test-exec.sh | |
parent | Move portable specific settings down. (diff) | |
download | openssh-86b4cb3a884846b358305aad17a6ef53045fa41f.tar.xz openssh-86b4cb3a884846b358305aad17a6ef53045fa41f.zip |
upstream: Although it's POSIX, not all shells used in Portable support
the implicit 'in "$@"' after 'for i'.
OpenBSD-Regress-ID: 3c9aec6bca4868f85d2742b6ba5223fce110bdbc
Diffstat (limited to 'regress/test-exec.sh')
-rw-r--r-- | regress/test-exec.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 73512a612..db6d6161a 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh @@ -1,4 +1,4 @@ -# $OpenBSD: test-exec.sh,v 1.85 2021/08/08 07:27:52 dtucker Exp $ +# $OpenBSD: test-exec.sh,v 1.86 2021/08/08 08:27:28 dtucker Exp $ # Placed in the Public Domain. #SUDO=sudo @@ -262,7 +262,7 @@ fi SSHLOGWRAP=$OBJ/ssh-log-wrapper.sh cat >$SSHLOGWRAP <<EOD #!/bin/sh -for i; do shift; case "\$i" in -q) :;; *) set -- "\$@" "\$i";; esac; done +for i in "\$@";do shift;case "\$i" in -q):;; *) set -- "\$@" "\$i";;esac;done exec ${SSH} -E${TEST_SSH_LOGFILE} "\$@" EOD |