summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-14 15:36:31 +0200
committerGünther Deschner <gd@samba.org>2008-10-14 16:29:47 +0200
commitda4399c509e9acfb372b90785292dcb1a08cf784 (patch)
tree9a1a1f4dc58e1fc20b1254f32386d645005a5013 /source3/script
parentd940012dc8db9104c929f588f1d28ba18cbbd420 (diff)
downloadsamba-da4399c509e9acfb372b90785292dcb1a08cf784.tar.gz
samba-da4399c509e9acfb372b90785292dcb1a08cf784.tar.bz2
samba-da4399c509e9acfb372b90785292dcb1a08cf784.zip
s3-build: add and use IDL_PATH while building IDL files.
Guenther
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/build_idl.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/script/build_idl.sh b/source3/script/build_idl.sh
index 2027fd3937..75f8612957 100755
--- a/source3/script/build_idl.sh
+++ b/source3/script/build_idl.sh
@@ -20,11 +20,11 @@ for f in ${IDL_FILES}; do
ndr="librpc/gen_ndr/ndr_$basename.c"
if [ -f $ndr ]; then
- if [ "x`find librpc/idl/$f -newer $ndr -print`" = "xlibrpc/idl/$f" ]; then
- list="$list librpc/idl/$f"
+ if [ "x`find ${IDL_PATH}/$f -newer $ndr -print`" = "x${IDL_PATH}/$f" ]; then
+ list="$list ${IDL_PATH}/$f"
fi
else
- list="$list librpc/idl/$f"
+ list="$list ${IDL_PATH}/$f"
fi
done