Fix slave-cleanup.sh
TODAY is a variable, add missing $ - which leads to removal of .venv on every run ;( Change-Id: I92a73304bb3f2f4d514df08b190bfa4ba2eac9e1
This commit is contained in:
parent
af39fc93be
commit
802c509eb3
@ -12,7 +12,7 @@ if [[ -f $MARKER ]] ; then
|
||||
|
||||
TODAY=$(date '+%Y%m%d')
|
||||
# Delete only once a day
|
||||
if [[ $(date -f $MARKER '+%Y%m%d') != TODAY ]] ; then
|
||||
if [[ $(date -f $MARKER '+%Y%m%d') != $TODAY ]] ; then
|
||||
rm -rf $VENV
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user