summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibrpc/build_idl.sh2
-rwxr-xr-xsource3/script/build_idl.sh2
2 files changed, 2 insertions, 2 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
}
diff --git a/source3/script/build_idl.sh b/source3/script/build_idl.sh
index 72d44add61..2a73755f0a 100755
--- a/source3/script/build_idl.sh
+++ b/source3/script/build_idl.sh
@@ -25,7 +25,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
}