Fix not working automatic removal of old working dir in case of all action.
This commit is contained in:
parent
956f1a2827
commit
c623173aa9
1 changed files with 1 additions and 1 deletions
2
sit
2
sit
|
@ -245,7 +245,7 @@ sit_countdown 3
|
|||
|
||||
# if working dir already exists and execution option is Default then remove
|
||||
# previous working directory and create new
|
||||
if [[ -d ${WORKDIR} && -z $sit_action ]] ; then
|
||||
if [[ -d ${WORKDIR} && $sit_action == "all" ]] ; then
|
||||
sit_info "Removing existing working directory ${WORKDIR}"
|
||||
sit_countdown 5
|
||||
rm -rf ${WORKDIR}
|
||||
|
|
Loading…
Reference in a new issue