summaryrefslogtreecommitdiff
path: root/nightly/buildlinux.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-29 16:22:12 +0300
committerAndrei Karas <akaras@inbox.ru>2011-03-29 17:18:48 +0300
commit0cd441867adedc5add8b65a42d0f156e906ab25e (patch)
treedd133bd5396f74c5ece8b1b92b6c60747400379e /nightly/buildlinux.sh
parentc36fbf56e9adc9de97e96acab753ddbb939c0b8b (diff)
downloadmv-0cd441867adedc5add8b65a42d0f156e906ab25e.tar.gz
mv-0cd441867adedc5add8b65a42d0f156e906ab25e.tar.bz2
mv-0cd441867adedc5add8b65a42d0f156e906ab25e.tar.xz
mv-0cd441867adedc5add8b65a42d0f156e906ab25e.zip
Add fixes for localisation dir in linux portable build and error detection.
Diffstat (limited to 'nightly/buildlinux.sh')
-rwxr-xr-xnightly/buildlinux.sh12
1 files changed, 10 insertions, 2 deletions
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