diff --git a/sit b/sit index fe95df6..eb0f2fc 100755 --- a/sit +++ b/sit @@ -155,11 +155,11 @@ echo "Logfile dir: $LOGDIR" sit_countdown 3 -#if [ -d ${WORKDIR} ] ; then -# sit_info "Removing existing working directory ${WORKDIR}" -# sit_countdown 5 -# rm -rf ${WORKDIR} -#fi +if [ -d ${WORKDIR} ] ; then + sit_info "Removing existing working directory ${WORKDIR}" + sit_countdown 5 + rm -rf ${WORKDIR} +fi mkdir -p ${WORKDIR} mkdir -p ${BUILDDIR} if [ ! -z ${LOGDIR} ] ; then