From: Enrico Tassi Date: Tue, 17 Apr 2007 09:22:56 +0000 (+0000) Subject: broken list fix X-Git-Tag: 0.4.95@7852~527 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=cb971faa22fd9205a8f0a6827029fd77570094a6;p=helm.git broken list fix --- diff --git a/matita/scripts/crontab.sh b/matita/scripts/crontab.sh index f2a0283c0..173532c61 100644 --- a/matita/scripts/crontab.sh +++ b/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 <