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/buildwindows.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'nightly/buildwindows.sh') diff --git a/nightly/buildwindows.sh b/nightly/buildwindows.sh index ede9f0f04..286471d4c 100755 --- a/nightly/buildwindows.sh +++ b/nightly/buildwindows.sh @@ -5,11 +5,24 @@ dir=`pwd` cd .. export PATH=/usr/i586-mingw32msvc/bin:$PATH CXXFLAGS="-Wall -g0 -O2" cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain.nightly . +result=$? +if [ "$result" != 0 ]; then + exit $result +fi make -j5 2>make.log +result=$? +if [ "$result" != 0 ]; then + exit $result +fi cd ./packaging/windows ./make-translations.sh +result=$? +if [ "$result" != 0 ]; then + exit $result +fi + makensis -DDLLDIR=$dir/../packaging/windows/libs/dll/ \ -DPRODUCT_VERSION="nightly-$1" \ -DEXESUFFIX=/src \ -- cgit v1.2.3-60-g2f50