summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-01-26 22:52:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:28 -0500
commitf779904af5db7b649a756585b5343c5536e57bed (patch)
tree6429bb5197a01913a1393c2f2bb5249e394b98b8 /source3
parent4a5868f3ca240d796e1172030c383ed73016a54d (diff)
downloadsamba-f779904af5db7b649a756585b5343c5536e57bed.tar.gz
samba-f779904af5db7b649a756585b5343c5536e57bed.tar.bz2
samba-f779904af5db7b649a756585b5343c5536e57bed.zip
r21034: Don't force user to have pidl in their PATH.
(This used to be commit 9e2118969d444d2ffd1e9818cbbb155238fab719)
Diffstat (limited to 'source3')
-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