From 9ad7e0e805157ad7374fe91dc20e6d0b2cc9ebf1 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Thu, 12 Feb 2004 07:17:10 -0800 Subject: [Makefile.in regress/sftp-badcmds.sh regress/test-exec.sh] Portablity fixes. Data sftp transfers needs to be world readable. Some older shells hang on while loops when doing sh -n some_script. OK dtucker@ --- regress/test-exec.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regress/test-exec.sh') diff --git a/regress/test-exec.sh b/regress/test-exec.sh index debe7e3a4..98851dc97 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh @@ -30,7 +30,7 @@ if [ ! -f $SCRIPT ]; then echo "not a file: $SCRIPT" exit 2 fi -if sh -n $SCRIPT; then +if $TEST_SHELL -n $SCRIPT; then true else echo "syntax error in $SCRIPT" -- cgit v1.2.3