From f779904af5db7b649a756585b5343c5536e57bed Mon Sep 17 00:00:00 2001 From: James Peach Date: Fri, 26 Jan 2007 22:52:55 +0000 Subject: r21034: Don't force user to have pidl in their PATH. (This used to be commit 9e2118969d444d2ffd1e9818cbbb155238fab719) --- source3/script/build_idl.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/script') 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 -- cgit