X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/1ecac84cf6af37ef80a0f38959b3eed19b8c9ee3..05d2c72502044e8ab33346264dfaf81ee798be00:/continuous/cron.sh diff --git a/continuous/cron.sh b/continuous/cron.sh index 0e892d4..ef5a309 100755 --- a/continuous/cron.sh +++ b/continuous/cron.sh @@ -1,5 +1,7 @@ #!/bin/bash +PATH=$PATH:$HOME/bin + set -e cd $(dirname $0) @@ -7,5 +9,8 @@ cd $(dirname $0) mkdir -p logs NOW=$(date +%F_%R:%S) +LOG=logs/${NOW}.log + +make -C steps > $LOG 2>&1 || cat $LOG -make -C steps > logs/${NOW}.log 2>&1 +make -C www --silent publish