Reverting cleanup changes.
Remove existing working directory as long as we do not support resuming.
This commit is contained in:
parent
bfd9d35558
commit
f6060b4cd5
1 changed files with 5 additions and 5 deletions
10
sit
10
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
|
||||
|
|
Loading…
Reference in a new issue