Author: jpeach Date: 2007-01-26 22:52:55 +0000 (Fri, 26 Jan 2007) New Revision: 21034
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21034 Log: Don't force user to have pidl in their PATH. Modified: branches/SAMBA_3_0/source/script/build_idl.sh Changeset: Modified: branches/SAMBA_3_0/source/script/build_idl.sh =================================================================== --- branches/SAMBA_3_0/source/script/build_idl.sh 2007-01-26 15:58:10 UTC (rev 21033) +++ branches/SAMBA_3_0/source/script/build_idl.sh 2007-01-26 22:52:55 UTC (rev 21034) @@ -8,8 +8,12 @@ [ -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 ##