]> matita.cs.unibo.it Git - helm.git/commitdiff
using lua5.1 instead of lua50
authorEnrico Tassi <enrico.tassi@inria.fr>
Sat, 23 Sep 2006 16:07:53 +0000 (16:07 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Sat, 23 Sep 2006 16:07:53 +0000 (16:07 +0000)
helm/software/matita/scripts/crontab.sh
helm/software/matita/scripts/profile_svn.sh

index b3528cee6d3f811c702bd9f91f1b07f59af7b181..51e090d98dfedc3a2823d0cedcada5c23d05e5c3 100644 (file)
@@ -65,15 +65,15 @@ fi
 if [ "$DELTA" -lt 0 ]; then
   PERC=0
 else
-  PREC=`lua50 scripts/functions.lua proportion $DELTA x $OLD_TIME 100`
+  PREC=`lua5.1 scripts/functions.lua proportion $DELTA x $OLD_TIME 100`
 fi
 if [ "$PERC" -ge 5 ]; then
   cat <<EOT
   
   Performance loss detected (MARK $MARK vs MARK $LASTMARK)
   
-  Is: `lua50 scripts/functions.lua t2s $CUR_TIME` 
-  Was: `lua50 scripts/functions.lua t2s $OLD_TIME`
+  Is: `lua5.1 scripts/functions.lua t2s $CUR_TIME` 
+  Was: `lua5.1 scripts/functions.lua t2s $OLD_TIME`
   
   For details: $URL
 EOT
index b5ddfb0f622a553ee82f8f06af05d4884f989a10..4c415e0d32198b15837c67a1cbdff20ab845cddb 100755 (executable)
@@ -67,7 +67,7 @@ run_tests $PWD/helm/software/matita > LOG 2>LOG.run_tests.err
 
 #insert the db
 cat LOG | grep "\(OK\|FAIL\)" | grep "\(gc-on\|gc-off\)" | \
-  lua50 $PWD/helm/software/matita/scripts/functions.lua log2sql - > INSERT.sql
+  lua5.1 $PWD/helm/software/matita/scripts/functions.lua log2sql - > INSERT.sql
 cat INSERT.sql | $MYSQL
 
 #save the revision