summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-26 16:01:34 +0100
committerMichael Adam <obnox@samba.org>2008-02-26 16:06:07 +0100
commit379fa9baaec5094b6509821d0c97f1f92cc3afb8 (patch)
tree0a751b2b7bcd84019f4777a5f88b472179235c5b /source3/script
parent7bdd648477c49dc7e23f832b2438bef673398fbf (diff)
downloadsamba-379fa9baaec5094b6509821d0c97f1f92cc3afb8.tar.gz
samba-379fa9baaec5094b6509821d0c97f1f92cc3afb8.tar.bz2
samba-379fa9baaec5094b6509821d0c97f1f92cc3afb8.zip
make idl: Only compile idl files newer than the output to be generated.
Fix "if" condition in build_idl.sh to not always evaluate as false. Michael (This used to be commit 79c199d16e565eabd9fd971247f8df62689bb92a)
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 7aaddc70c7..39a63573b9 100755
--- a/source3/script/build_idl.sh
+++ b/source3/script/build_idl.sh
@@ -23,7 +23,7 @@ for f in ${IDL_FILES}; do
basename=`basename $f .idl`
ndr="librpc/gen_ndr/ndr_$basename.c"
- if [ -f $ndr ] && false; then
+ if [ -f $ndr ] ; then
if [ "x`find librpc/idl/$f -newer $ndr -print`" = "xlibrpc/idl/$f" ]; then
list="$list librpc/idl/$f"
fi