From: Enrico Tassi Date: Tue, 17 Apr 2007 09:22:56 +0000 (+0000) Subject: broken list fix X-Git-Tag: make_still_working~6386 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=15d6a12894dd88099e90ffb80a138970a597542b;p=helm.git broken list fix --- diff --git a/helm/software/matita/scripts/crontab.sh b/helm/software/matita/scripts/crontab.sh index f2a0283c0..173532c61 100644 --- a/helm/software/matita/scripts/crontab.sh +++ b/helm/software/matita/scripts/crontab.sh @@ -84,21 +84,32 @@ CUR_FAIL=`printf "$SQLQFAILCOUNT" "$MARK" | $MYSQL | tail -n 1` OLD_FAIL=`printf "$SQLQFAILCOUNT" "$LASTMARK" | $MYSQL | tail -n 1` if [ "$CUR_FAIL" -gt "$OLD_FAIL" ]; then + TMP1=`mktemp` + TMP2=`mktemp` + TMP3=`mktemp` + printf "$SQLQFAIL" "$MARK" | $MYSQL > $TMP1 + printf "$SQLQFAIL" "$LASTMARK" | $MYSQL > $TMP2 + combine $TMP1 not $TMP2 > $TMP3 + cat <