summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script')
-rw-r--r--source3/script/build_idl.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/script/build_idl.sh b/source3/script/build_idl.sh
index d24f7601df..8ec5f4de24 100644
--- a/source3/script/build_idl.sh
+++ b/source3/script/build_idl.sh
@@ -8,7 +8,11 @@ cd ${srcdir}
[ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
-PIDL="pidl ${PIDL_ARGS} ${PIDL_EXTRA_ARGS}"
+if [ -z "$PIDL" ] ; then
+ PIDL=pidl
+fi
+
+PIDL="$PIDL ${PIDL_ARGS} ${PIDL_EXTRA_ARGS}"
##
## Find newer files rather than rebuild all of them