From bca90d2076309b670d60e1f74ed45d5019e71d5a Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 23 Oct 2016 09:42:43 +0200 Subject: [PATCH] buildno.h is gone, don't try to read it. --- process/cron/preview.cron | 1 - s/preview | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/process/cron/preview.cron b/process/cron/preview.cron index b18038843..985ddf40b 100755 --- a/process/cron/preview.cron +++ b/process/cron/preview.cron @@ -7,7 +7,6 @@ if [ -e ${ERESSEA}/build/.preview ]; then fi SRC=${ERESSEA}/git ${SRC}/s/preview build ${branch} || exit $? -${SRC}/s/preview version for game in 2 3 4 ; do ${SRC}/s/preview -g ${game} run && \ ${SRC}/s/preview -g ${game} send diff --git a/s/preview b/s/preview index 86a4f8918..1e5d0db48 100755 --- a/s/preview +++ b/s/preview @@ -45,13 +45,6 @@ function assert_dir() { [ -d $1 ] || abort "missing directory: $1" } -function version() { -assert_dir $SOURCE -cd $SOURCE -build=$(grep BUILD src/buildno.h | awk '{ print $3 }') -echo "eressea build $build" -} - function setup() { assert_dir $SOURCE assert_dir $LIVE @@ -138,9 +131,6 @@ shift $((OPTIND-1)) while [ ! -z $1 ]; do case "$1" in -"version") - version - ;; "build") shift build $*