diff options
author | Björn Jacke <bj@sernet.de> | 2010-05-07 13:38:00 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2010-05-07 13:38:00 +0200 |
commit | 10e0641e3466ba765174a5036816f6ccef11922f (patch) | |
tree | e9a4a596d1c58ccd169a533a912fed55892aafce | |
parent | 5910f4cadea4f2564fe360602e5077c388a8c8cd (diff) | |
download | samba-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!
-rwxr-xr-x | librpc/build_idl.sh | 2 | ||||
-rwxr-xr-x | source3/script/build_idl.sh | 2 |
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 } |