-BUILD_DIR=/usr/src/redhat/
+BUILD_DIR=${BUILD_DIR:=/usr/src/redhat/}
PWD=`pwd`
-UPLOAD_PATH=/home/ftp/pub
-UPLOAD_HOST=flurry
-UPLOAD_DIR=`basename $PWD`
+UPLOAD_PATH=${UPLOAD_PATH:=/home/ftp/pub}
+UPLOAD_HOST=${UPLOAD_HOST:=flurry}
+UPLOAD_DIR=${UPLOAD_DIR:=`basename $PWD`}
UPLOAD_URI=${UPLOAD_HOST}:${UPLOAD_PATH}/${UPLOAD_DIR}
-DISTRO="centos/5.5"
+DISTRO=${DISTRO:="centos/5.5"}
project=`basename $PWD`
if test ! -f ${project}.spec; then
echo "Missing ${project}.spec file. Are you in the project directory?"