summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-15 05:37:15 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-15 05:37:15 +0000
commit64352f9ef1e028fedc9f15f6972addf8e1b6f4ff (patch)
tree59c8c92d0aa75fb3fcd2c68a4b3065ca19771625
parent807a701f7c9789bff83c33ad6d9e54026355d40b (diff)
downloadsamba-64352f9ef1e028fedc9f15f6972addf8e1b6f4ff.tar.gz
samba-64352f9ef1e028fedc9f15f6972addf8e1b6f4ff.tar.bz2
samba-64352f9ef1e028fedc9f15f6972addf8e1b6f4ff.zip
a script fix for the build farm
(This used to be commit 5f6b0baa300d088a6d7fb91fcbceff594292eaa0)
-rwxr-xr-xsource4/script/build_idl.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh
index f39fab3a65..c96cca0c79 100755
--- a/source4/script/build_idl.sh
+++ b/source4/script/build_idl.sh
@@ -20,7 +20,8 @@ list=""
for f in librpc/idl/*.idl; do
basename=`basename $f .idl`
- if [ "$f" -nt librpc/gen_ndr/ndr_$basename.c ]; then
+ ndr="librpc/gen_ndr/ndr_$basename.c"
+ if [ "$f" -nt $ndr -o ! -f $ndr ]; then
list="$list $f"
fi
done