summaryrefslogtreecommitdiffstats
path: root/source3/script
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 /source3/script
parent5910f4cadea4f2564fe360602e5077c388a8c8cd (diff)
downloadsamba-10e0641e3466ba765174a5036816f6ccef11922f.tar.gz
samba-10e0641e3466ba765174a5036816f6ccef11922f.tar.xz
samba-10e0641e3466ba765174a5036816f6ccef11922f.zip
idl: fix Unix builds by replacing bashism
test -nt is not portable - tridge, please check!
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/build_idl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/build_idl.sh b/source3/script/build_idl.sh
index 72d44add61f..2a73755f0a2 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
}