From 874a4840687bc0c3209ffe3bcb7649f549a18e63 Mon Sep 17 00:00:00 2001 From: don bright Date: Sat, 18 May 2013 18:57:08 +0200 Subject: if .com fails, stop build. also stop using make || make diff --git a/scripts/release-common.sh b/scripts/release-common.sh index 261905d..5c63ccd 100755 --- a/scripts/release-common.sh +++ b/scripts/release-common.sh @@ -180,10 +180,9 @@ esac case $OS in LINXWIN) - # make || make enables paralell builds, thanks Tony Theodore # make main openscad.exe cd $DEPLOYDIR - make $TARGET -j$NUMCPU || make $TARGET -j$NUMCPU ## comment 4 test + make $TARGET -j$NUMCPU ## comment 4 test if [ ! -e $TARGET/openscad.exe ]; then echo "cant find $TARGET/openscad.exe. build failed. stopping." exit @@ -191,6 +190,10 @@ case $OS in # make console pipe-able openscad.com - see winconsole.pri for info qmake CONFIG+=winconsole ../openscad.pro make + if [ ! -e $TARGET/openscad.com ]; then + echo "cant find $TARGET/openscad.com. build failed. stopping." + exit + fi cd $OPENSCADDIR ;; -- cgit v0.10.1