use full path to preview script from cron.

This commit is contained in:
Enno Rehling 2014-08-24 00:37:03 +02:00
parent 5befbad7c7
commit 86c2096cfa
1 changed files with 6 additions and 5 deletions

View File

@ -1,8 +1,9 @@
#!/bin/bash
s/preview build master
s/preview version
[ -z $ERESSEA ] && ERESSEA=$HOME/eressea
SRC=$ERESSEA/git
$SRC/s/preview build master
$SRC/s/preview version
for game in 2 3 4 ; do
s/preview -g $game run && \
s/preview -g $game send
$SRC/s/preview -g $game run && \
$SRC/s/preview -g $game send
done