server/s/cron/previews.sh
2014-08-24 00:37:03 +02:00

9 lines
213 B
Bash
Executable file

#!/bin/bash
[ -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