diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-05-18 16:57:08 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-05-18 16:57:08 (GMT) |
commit | 874a4840687bc0c3209ffe3bcb7649f549a18e63 (patch) | |
tree | eb9742f77383e830db8c8cb1548ce4e4384f1dc1 /scripts/release-common.sh | |
parent | 127d84a58cf58f394f6786429296bde357803a24 (diff) |
if .com fails, stop build. also stop using make || make
Diffstat (limited to 'scripts/release-common.sh')
-rwxr-xr-x | scripts/release-common.sh | 7 |
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 ;; |