summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'librpc')
-rwxr-xr-xlibrpc/build_idl.sh3
1 files changed, 2 insertions, 1 deletions
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