diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-16 01:54:16 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-16 01:54:16 (GMT) |
commit | c436e9509432e5e40ef0b938c5f1aad87c2525f5 (patch) | |
tree | e1523a284676fcb728f7bcbc2405ea3b654a6eca | |
parent | 0a94c8d7ab29a9744a0ca5452d1b8428bddf10b1 (diff) |
bugfix: Make clean on Mac doesn't clean all, fixed progress output
git-svn-id: http://svn.clifford.at/openscad/trunk@324 b57f626f-c46c-0410-a088-ec61d464b74c
-rwxr-xr-x | release-common.sh | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/release-common.sh b/release-common.sh index e1b66b3..44a5395 100755 --- a/release-common.sh +++ b/release-common.sh @@ -60,15 +60,18 @@ esac qmake VERSION=$VERSION CONFIG+=$CONFIG make -s clean -if [[ $OS == WIN ]]; then - #if the following files are missing their tried removal stops the build process on msys - touch -t 200012121010 parser_yacc.h parser_yacc.cpp lexer_lex.cpp -fi +case $OS in + MACOSX) + rm -rf OpenSCAD.app + ;; + WIN) + #if the following files are missing their tried removal stops the build process on msys + touch -t 200012121010 parser_yacc.h parser_yacc.cpp lexer_lex.cpp + ;; +esac make -j2 $TARGET -echo "Preparing executable..." - echo "Creating directory structure..." rm -rf openscad-$VERSION rm -f openscad-$VERSION.zip @@ -104,7 +107,7 @@ case $OS in ;; esac -echo "Creating directory structure..." +echo "Creating archive.." "$ZIP" $ZIPARGS openscad-$VERSION.zip openscad-$VERSION rm -rf openscad-$VERSION |