summaryrefslogtreecommitdiff
path: root/scripts/release-common.sh
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-05-18 16:57:08 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-05-18 16:57:08 (GMT)
commit874a4840687bc0c3209ffe3bcb7649f549a18e63 (patch)
treeeb9742f77383e830db8c8cb1548ce4e4384f1dc1 /scripts/release-common.sh
parent127d84a58cf58f394f6786429296bde357803a24 (diff)
if .com fails, stop build. also stop using make || make
Diffstat (limited to 'scripts/release-common.sh')
-rwxr-xr-xscripts/release-common.sh7
1 files changed, 5 insertions, 2 deletions
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
;;
contact: Jan Huwald // Impressum