--- projects/cms/source/conient/configure 2001/03/14 21:56:00 1.3 +++ projects/cms/source/conient/configure 2001/03/14 23:24:40 1.5 @@ -4,7 +4,7 @@ # i-scream Distributed Centralised Monitoring System # Conient configure script # -# $Id: configure,v 1.3 2001/03/14 21:56:00 tdb Exp $ +# $Id: configure,v 1.5 2001/03/14 23:24:40 tdb Exp $ # ## Config @@ -17,7 +17,7 @@ WGETPARAM="-nv" WGET="/usr/local/bin/wget ${WGETPARAM}" # This should always be the same -PWD=`pwd` +SRCROOT=`pwd` ## Library check @@ -32,7 +32,7 @@ for LIB in ${LIBRARIES}; do echo " + ${LIB} found"; \ else \ echo " - ${LIB} not found, fetching from ${HTTPSERVER}${LIB}"; \ - /usr/local/bin/wget -nv ${HTTPSERVER}${LIB}; \ + ${WGET} ${HTTPSERVER}${LIB}; \ fi done @@ -41,9 +41,9 @@ done echo "> Generating Makefile includes" echo " + writing root of source tree" -echo "SOURCEROOT=${PWD}" > ${PWD}/Config.inc +echo "SOURCEROOT=${SRCROOT}" > ${SRCROOT}/Config.inc echo " + writing include" -echo "include \$(SOURCEROOT)/Config2.inc" >> ${PWD}/Config.inc +echo "include \$(SOURCEROOT)/Config2.inc" >> ${SRCROOT}/Config.inc echo "> Configure Completed"