summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-05-07 13:38:00 +0200
committerBjörn Jacke <bj@sernet.de>2010-05-07 13:38:00 +0200
commit10e0641e3466ba765174a5036816f6ccef11922f (patch)
treee9a4a596d1c58ccd169a533a912fed55892aafce /librpc
parent5910f4cadea4f2564fe360602e5077c388a8c8cd (diff)
downloadsamba-10e0641e3466ba765174a5036816f6ccef11922f.tar.gz
samba-10e0641e3466ba765174a5036816f6ccef11922f.tar.bz2
samba-10e0641e3466ba765174a5036816f6ccef11922f.zip
idl: fix Unix builds by replacing bashism
test -nt is not portable - tridge, please check!
Diffstat (limited to 'librpc')
-rwxr-xr-xlibrpc/build_idl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/build_idl.sh b/librpc/build_idl.sh
index a130d9eb5a..4ef1e4b47e 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
}