5 SELFDIR
=`dirname ${SELF}`
17 test -z "${SRCDIR}" && {
18 echo "${SELF}:SRCDIR: '${SRCDIR}'" >&2;
22 test -z "${BUILDDIR}" && {
23 echo "${SELF}:BUILDDIR: '${BUILDDIR}'" >&2;
27 test -z "${DESTDIR}" && {
28 echo "${SELF}:DESTDIR: '${DESTDIR}'" >&2;
33 echo "${SELF}:CMD: '${CMD}'" >&2;
37 test -z "${FILE}" && {
38 echo "${SELF}:FILE: '${FILE}'" >&2;
42 test -z "${NAME}" && {
43 echo "${SELF}:NAME: '${NAME}'" >&2;
53 echo "${SELF}:cannot cd into '${SRCDIR}'" >&2;
61 echo "${SELF}:cannot cd into '${BUILDDIR}'" >&2;
66 ${ABS_BUILDDIR}/${CMD} ${OPTIONS} ${ABS_SRCDIR}/${FILE} ${NAME} >&2 ||
exit 1;
69 echo "${SELF}:cannot cd into '${BUILDDIR}'" >&2;