diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-02-10 00:50:02 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-02-10 00:50:02 (GMT) |
commit | 975ecef6a904bf4a3b4173a1c173442e9f3b5237 (patch) | |
tree | 5ceb4338e5ab124460f695161f53476b566b3da3 /scripts | |
parent | 393bff745b8fbd45059d92aea90d25c9db8d309a (diff) |
Handle abort
git-svn-id: http://svn.clifford.at/openscad/trunk@427 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/publish-macosx.sh | 5 | ||||
-rwxr-xr-x | scripts/release-common.sh | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/scripts/publish-macosx.sh b/scripts/publish-macosx.sh index 91986a5..88fd3f7 100755 --- a/scripts/publish-macosx.sh +++ b/scripts/publish-macosx.sh @@ -3,9 +3,12 @@ VERSION=`date "+%Y.%m.%d"` #VERSION=2010.02 -export OPENCSGDIR=$PWD/../OpenCSG-1.3.0 +export OPENCSGDIR=$PWD/../OpenCSG-1.2.0 `dirname $0`/release-common.sh -v $VERSION +if [[ $? != 0 ]]; then + exit 1 +fi cp OpenSCAD-$VERSION.dmg ~/Documents/Dropbox/Public ln -sf OpenSCAD-$VERSION.dmg ~/Documents/Dropbox/Public/OpenSCAD-latest.dmg diff --git a/scripts/release-common.sh b/scripts/release-common.sh index da249ed..f08f046 100755 --- a/scripts/release-common.sh +++ b/scripts/release-common.sh @@ -72,6 +72,7 @@ make -j2 $TARGET if [[ $? != 0 ]]; then echo "Error building OpenSCAD. Aborting." + exit 1 fi echo "Creating directory structure..." |