X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/c0aaf95ef10cb28175cef4e22619ab7d07df0e71..3a2436513da2275418a9cf4c6c97903cf8612490:/continuous/cron.sh diff --git a/continuous/cron.sh b/continuous/cron.sh index 0e892d4..14e3d5a 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,6 @@ cd $(dirname $0) mkdir -p logs NOW=$(date +%F_%R:%S) +LOG=logs/${NOW}.log -make -C steps > logs/${NOW}.log 2>&1 +make -C steps > $LOG 2>&1 || cat $LOG