From 0cd441867adedc5add8b65a42d0f156e906ab25e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 29 Mar 2011 16:22:12 +0300 Subject: Add fixes for localisation dir in linux portable build and error detection. --- nightly/buildlinux.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'nightly/buildlinux.sh') diff --git a/nightly/buildlinux.sh b/nightly/buildlinux.sh index ebc07dd87..43eb06883 100755 --- a/nightly/buildlinux.sh +++ b/nightly/buildlinux.sh @@ -2,13 +2,21 @@ cd .. -DIR=`pwd` DSTDIR=packaging/build/linux autoreconf -i #make clean -./configure --datadir=. localedir=locale +./configure --enable-portable=yes +result=$? +if [ "$result" != 0 ]; then + exit $result +fi + make +result=$? +if [ "$result" != 0 ]; then + exit $result +fi if [ -e src/manaplus ]; then -- cgit v1.2.3-70-g09d2