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:
Andreas Jaeger 2015-07-09 14:12:02 +02:00
parent af39fc93be
commit 802c509eb3

View File

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