]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/scripts/crontab.sh
added homepage URL, now we have one
[helm.git] / helm / matita / scripts / crontab.sh
index 67edb84e25211a91c760d49a68dd13679c6abba8..f4c7b4a8e67adf341b212fe7da73ed3c3dd8d6b2 100644 (file)
@@ -21,15 +21,15 @@ fi
 
 ((DELTA=$CUR_TIME - $OLD_TIME))
 if [ $DELTA -lt 0 ]; then
-  ((DELTA=$DELTA * -1))
+  PERC=0
+else
+  ((PERC=100 * $DELTA))
+  ((PERC=$PERC / $OLD_TIME))
 fi
-((PERC=100 * $DELTA))
-((PERC=$PERC / $OLD_TIME))
-
 if [ $PERC -ge 5 ]; then
   cat <<EOT
   REPORT FOR `date`
-  http://mowgli.cs.unibo.it/tassi/bench.php
+  http://mowgli.cs.unibo.it/~tassi/bench.php
 
   PREFORMANCE LOSS DETECTED
   is $CUR_TIME sec 
@@ -44,7 +44,7 @@ OLD_FAIL=`echo "select count(distinct test) from bench where mark = \"$LASTMARK\
 if [ $CUR_FAIL -gt $OLD_FAIL ]; then
   cat <<EOT
   REPORT FOR `date`
-  http://mowgli.cs.unibo.it/tassi/bench.php
+  http://mowgli.cs.unibo.it/~tassi/bench.php
 
   MORE BROKEN TESTS DETECTED
   now broken: