summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-09-13 15:19:46 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-09-13 09:34:49 +0200
commit85598e68502a594339434b71fec14fe186cb2131 (patch)
treef135aa00fbe08bfe4b5ce374c0d512d79bc9d84d /source3
parent45c580575f38a2e5f7952aaad9921a53723b9f66 (diff)
downloadsamba-85598e68502a594339434b71fec14fe186cb2131.tar.gz
samba-85598e68502a594339434b71fec14fe186cb2131.tar.bz2
samba-85598e68502a594339434b71fec14fe186cb2131.zip
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 <abartlet@samba.org> Autobuild-Date: Tue Sep 13 09:34:49 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/script/tests/test_smbclient_s3.sh20
1 files changed, 10 insertions, 10 deletions
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