forked from github/server
buildno.h is gone, don't try to read it.
This commit is contained in:
parent
f0fdb8d1a5
commit
bca90d2076
|
@ -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
|
||||||
|
|
10
s/preview
10
s/preview
|
@ -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 $*
|
||||||
|
|
Loading…
Reference in New Issue