From 85598e68502a594339434b71fec14fe186cb2131 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 13 Sep 2011 15:19:46 +1000 Subject: s3-selftest use a more portable shell syntax "$10" evaulates to $1 and 0, not the 10th argument. Thanks to Amitay for pointing this out! Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Tue Sep 13 09:34:49 CEST 2011 on sn-devel-104 --- source3/script/tests/test_smbclient_s3.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source3/script/tests') diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh index d2c504908b..3341c62f4b 100755 --- a/source3/script/tests/test_smbclient_s3.sh +++ b/source3/script/tests/test_smbclient_s3.sh @@ -9,16 +9,16 @@ EOF exit 1; fi -SERVER="$1" -SERVER_IP="$2" -DOMAIN="$3" -USERNAME="$4" -PASSWORD="$5" -USERID="$6" -LOCAL_PATH="$7" -PREFIX="$8" -SMBCLIENT="$9" -WBINFO="$10" +SERVER="${1}" +SERVER_IP="${2}" +DOMAIN="${3}" +USERNAME="${4}" +PASSWORD="${5}" +USERID="${6}" +LOCAL_PATH="${7}" +PREFIX="${8}" +SMBCLIENT="${9}" +WBINFO="${10}" SMBCLIENT="$VALGRIND ${SMBCLIENT}" WBINFO="$VALGRIND ${WBINFO}" shift 10 -- cgit