[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Mon Jun 25 11:03:02 MDT 2012


The branch, master has been updated
       via  cf244a1 s3:test: make shell code more porable by elimnating "local" keyword
      from  754b925 s3: Fix a typo

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit cf244a1b8b9c8562c00a5622f67f9542e57e353f
Author: Björn Jacke <bj at sernet.de>
Date:   Mon Jun 25 17:12:35 2012 +0200

    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 at sernet.de>
    Autobuild-Date(master): Mon Jun 25 19:02:13 CEST 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 .../script/tests/test_net_registry_roundtrip.sh    |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/script/tests/test_net_registry_roundtrip.sh b/source3/script/tests/test_net_registry_roundtrip.sh
index 050311a..f215887 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
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list