[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Fri May 7 05:39:57 MDT 2010


The branch, master has been updated
       via  10e0641... idl: fix Unix builds by replacing bashism
      from  5910f4c... s3:configure: search fdatasync also in librt

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


- Log -----------------------------------------------------------------
commit 10e0641e3466ba765174a5036816f6ccef11922f
Author: Björn Jacke <bj at sernet.de>
Date:   Fri May 7 13:38:00 2010 +0200

    idl: fix Unix builds by replacing bashism
    
    test -nt is not portable - tridge, please check!

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

Summary of changes:
 librpc/build_idl.sh         |    2 +-
 source3/script/build_idl.sh |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/librpc/build_idl.sh b/librpc/build_idl.sh
index a130d9e..4ef1e4b 100755
--- a/librpc/build_idl.sh
+++ b/librpc/build_idl.sh
@@ -38,7 +38,7 @@ for f in ${IDL_FILES}; do
 		list="$list $f"
 		break
 	    }
-	    [ $f -nt $PIDL_OUTPUTDIR/$o ] && {
+	    test "`find $f -newer $PIDL_OUTPUTDIR/$o`" = "" && {
 		list="$list $f"
 		break
 	    }
diff --git a/source3/script/build_idl.sh b/source3/script/build_idl.sh
index 72d44ad..2a73755 100755
--- a/source3/script/build_idl.sh
+++ b/source3/script/build_idl.sh
@@ -25,7 +25,7 @@ for f in ${IDL_FILES}; do
 		list="$list $f"
 		break
 	    }
-	    [ $f -nt $PIDL_OUTPUTDIR/$o ] && {
+	    test "`find $f -newer $PIDL_OUTPUTDIR/$o`" = "" && {
 		list="$list $f"
 		break
 	    }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list