server/s/cron/previews.sh
2014-09-21 09:59:48 +02:00

9 lines
211 B
Bash
Executable file

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