diff --git a/s/cron/previews.sh b/s/cron/previews.sh index 7c9f8bb95..809ea56c2 100755 --- a/s/cron/previews.sh +++ b/s/cron/previews.sh @@ -1,7 +1,12 @@ #!/bin/sh [ -z $ERESSEA ] && ERESSEA=$HOME/eressea + +branch=master +if [ ! -n "$1" ]; then +branch="$1" +fi SRC=$ERESSEA/git -$SRC/s/preview build master +$SRC/s/preview build $branch $SRC/s/preview version for game in 2 3 4 ; do $SRC/s/preview -g $game run && \