summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-06-14 19:58:00 +0200
committerBjoern Jacke <bj@sernet.de>2012-06-14 23:57:40 +0200
commitec609443041dfb86151d510d8ecd7bc935d7bb00 (patch)
treee26be1966f84a40f5583a2edcecfd64b2fb327b7 /librpc
parent3f110e50bfdbaf6958c12098e06ef599341d7e3b (diff)
downloadsamba-ec609443041dfb86151d510d8ecd7bc935d7bb00.tar.gz
samba-ec609443041dfb86151d510d8ecd7bc935d7bb00.tar.bz2
samba-ec609443041dfb86151d510d8ecd7bc935d7bb00.zip
make librpc/build_idl.sh more portable
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 14 23:57:40 CEST 2012 on sn-devel-104
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