From 42716a6f74f98fcee65113efe4a51f02014058da Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Tue, 13 Dec 2005 14:45:05 +0000 Subject: [PATCH] ... --- helm/matita/scripts/crontab.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm/matita/scripts/crontab.sh b/helm/matita/scripts/crontab.sh index 28e628fc9..b545b108d 100644 --- a/helm/matita/scripts/crontab.sh +++ b/helm/matita/scripts/crontab.sh @@ -2,6 +2,7 @@ TODAY=`date +%Y%m%d` YESTERDAY=`date -d yesterday +%Y%m%d` TMPDIRNAME=$HOME/__${TODAY}_crontab +TMPDIRNAMEOLD=$HOME/__${YESTERDAY}_crontab CVSROOT=":ext:$USER@marcello.cs.unibo.it:/home/faculty/PROJECTS/cvs/helm" SHELLTIME2CENTSPHP=helm/matita/scripts/shell_time2cents.php SHELLADDERPHP=helm/matita/scripts/shell_adder.php @@ -10,6 +11,7 @@ COMMONPHP=helm/matita/scripts/public_html/common.php OLD=$PWD mkdir -p $TMPDIRNAME +rm -rf $TMPDIRNAMEOLD cd $TMPDIRNAME rm -rf helm cvs -d $CVSROOT co helm/matita/scripts 1>/dev/null 2>/dev/null -- 2.39.2