diff --git a/s/cron/previews.sh b/s/cron/previews.sh index fc9f5f70b..0e9a3e0e6 100755 --- a/s/cron/previews.sh +++ b/s/cron/previews.sh @@ -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