summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-06-25 17:12:35 +0200
committerBjoern Jacke <bj@sernet.de>2012-06-25 19:02:13 +0200
commitcf244a1b8b9c8562c00a5622f67f9542e57e353f (patch)
treefdae86a869d7c8455f79936ff5ab9330a093fcc9 /source3/script
parent754b925ccde2a46c5fdcb00141374d5c55fc5ff9 (diff)
downloadsamba-cf244a1b8b9c8562c00a5622f67f9542e57e353f.tar.gz
samba-cf244a1b8b9c8562c00a5622f67f9542e57e353f.tar.bz2
samba-cf244a1b8b9c8562c00a5622f67f9542e57e353f.zip
s3:test: make shell code more porable by elimnating "local" keyword
don't use "local". That is BASH only. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Mon Jun 25 19:02:13 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/tests/test_net_registry_roundtrip.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/script/tests/test_net_registry_roundtrip.sh b/source3/script/tests/test_net_registry_roundtrip.sh
index 050311a814..f2158879e3 100755
--- a/source3/script/tests/test_net_registry_roundtrip.sh
+++ b/source3/script/tests/test_net_registry_roundtrip.sh
@@ -66,9 +66,9 @@ conf_roundtrip_step() {
LOGDIR_PREFIX="conf_roundtrip"
conf_roundtrip()
-{
- local DIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXXXX)
- local LOG=$DIR/log
+(
+ DIR=$(mktemp -d ${PREFIX}/${LOGDIR_PREFIX}_XXXXXX)
+ LOG=$DIR/log
echo conf_roundtrip $1 > $LOG
@@ -144,7 +144,7 @@ conf_roundtrip()
return 1
fi
rm -r $DIR
-}
+)
CONF_FILES=$SERVERCONFFILE