From: Björn Jacke Date: Thu, 14 Jun 2012 17:58:00 +0000 (+0200) Subject: make librpc/build_idl.sh more portable X-Git-Tag: samba-4.0.0beta2~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec609443041dfb86151d510d8ecd7bc935d7bb00;p=thirdparty%2Fsamba.git make librpc/build_idl.sh more portable Autobuild-User(master): Björn Jacke Autobuild-Date(master): Thu Jun 14 23:57:40 CEST 2012 on sn-devel-104 --- diff --git a/librpc/build_idl.sh b/librpc/build_idl.sh index 35acd1f24e2..f5901db7e60 100755 --- a/librpc/build_idl.sh +++ b/librpc/build_idl.sh @@ -28,7 +28,8 @@ fi ## Find newer files rather than rebuild all of them. Also handle the case ## where the pidl compiler itself is newer. ## -PIDL_NEWEST=$(ls -rt $(find $PIDL_DIR -type f) | tail -n -1) +PIDL_NEWEST=`find $PIDL_DIR -type f -print | xargs ls -rt | tail -1` +echo "jfyi: PIDL_NEWEST is $PIDL_NEWEST" list="" for f in ${IDL_FILES}; do