buildno.h is gone, don't try to read it.

This commit is contained in:
Enno Rehling 2016-10-23 09:42:43 +02:00
parent f0fdb8d1a5
commit bca90d2076
2 changed files with 0 additions and 11 deletions

View File

@ -7,7 +7,6 @@ if [ -e ${ERESSEA}/build/.preview ]; then
fi fi
SRC=${ERESSEA}/git SRC=${ERESSEA}/git
${SRC}/s/preview build ${branch} || exit $? ${SRC}/s/preview build ${branch} || exit $?
${SRC}/s/preview version
for game in 2 3 4 ; do for game in 2 3 4 ; do
${SRC}/s/preview -g ${game} run && \ ${SRC}/s/preview -g ${game} run && \
${SRC}/s/preview -g ${game} send ${SRC}/s/preview -g ${game} send

View File

@ -45,13 +45,6 @@ function assert_dir() {
[ -d $1 ] || abort "missing directory: $1" [ -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() { function setup() {
assert_dir $SOURCE assert_dir $SOURCE
assert_dir $LIVE assert_dir $LIVE
@ -138,9 +131,6 @@ shift $((OPTIND-1))
while [ ! -z $1 ]; do while [ ! -z $1 ]; do
case "$1" in case "$1" in
"version")
version
;;
"build") "build")
shift shift
build $* build $*