From c436e9509432e5e40ef0b938c5f1aad87c2525f5 Mon Sep 17 00:00:00 2001 From: kintel Date: Sat, 16 Jan 2010 01:54:16 +0000 Subject: 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 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 -- cgit v0.10.1