--- projects/cms/source/conient/configure 2001/07/18 16:09:08 1.6 +++ projects/cms/source/conient/configure 2001/11/25 19:46:35 1.7 @@ -4,7 +4,7 @@ # i-scream Distributed Centralised Monitoring System # Conient configure script # -# $Id: configure,v 1.6 2001/07/18 16:09:08 tdb Exp $ +# $Id: configure,v 1.7 2001/11/25 19:46:35 tdb Exp $ # ## Config @@ -14,7 +14,15 @@ HTTPSERVER="http://www.i-scream.org.uk/downloads/lib/" # This script uses wget, set it's path and parameters here WGETPARAM="-nv" -WGET="/usr/local/bin/wget ${WGETPARAM}" +if test -x /usr/bin/wget; then + WGET="/usr/bin/wget ${WGETPARAM}" +else + if test -x /usr/local/bin/wget; then + WGET="/usr/local/bin/wget ${WGETPARAM}" + else + WGET="wget ${WGETPARAM}"; + fi +fi # This should always be the same SRCROOT=`pwd`