From f6060b4cd5a3d13962d3a11c945fba2a80d24fe4 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Mon, 13 Feb 2012 13:44:46 +0000 Subject: [PATCH] Reverting cleanup changes. Remove existing working directory as long as we do not support resuming. --- sit | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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