Reverting cleanup changes.

Remove existing working directory as long as we do not support resuming.
This commit is contained in:
Christoph Niethammer 2012-02-13 13:44:46 +00:00
parent bfd9d35558
commit f6060b4cd5

10
sit
View file

@ -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