Well, that not exactly fixes the problem. I changed the wrong line. It should become:
SHAREDIR=`cat ${CONFIGFILE} | grep 'SHAREDIR=' | sed s/SHAREDIR=//` if [ "${SHAREDIR}" = "" ] then echo "Fatal error: can't find SHAREDIR option in configuration file (${CONFIGFILE})" exit 1 fi Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]