From 379fa9baaec5094b6509821d0c97f1f92cc3afb8 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 26 Feb 2008 16:01:34 +0100 Subject: 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) --- source3/script/build_idl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/script') 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 -- cgit