From ec609443041dfb86151d510d8ecd7bc935d7bb00 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Thu, 14 Jun 2012 19:58:00 +0200 Subject: make librpc/build_idl.sh more portable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autobuild-User(master): Björn Jacke Autobuild-Date(master): Thu Jun 14 23:57:40 CEST 2012 on sn-devel-104 --- librpc/build_idl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/librpc/build_idl.sh b/librpc/build_idl.sh index 35acd1f24e..f5901db7e6 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 -- cgit