summaryrefslogtreecommitdiff
path: root/release-common.sh
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-22 13:22:16 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-22 13:22:16 (GMT)
commite0ca60eef76b2862d8fc14f785c0759566240ab8 (patch)
tree1a49751a7e1a4f58778f87e6fe0ec1ff581910c5 /release-common.sh
parent8561215e0959ed049356b525f0875d842eca296a (diff)
Bugfixes for Mac build
git-svn-id: http://svn.clifford.at/openscad/trunk@335 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'release-common.sh')
-rwxr-xr-xrelease-common.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/release-common.sh b/release-common.sh
index 6037f23..10a1d1b 100755
--- a/release-common.sh
+++ b/release-common.sh
@@ -58,7 +58,7 @@ case $OS in
;;
esac
-qmake VERSION=$VERSION CONFIG+=$CONFIG CONFIG-=debug
+qmake VERSION=$VERSION CONFIG+=$CONFIG CONFIG-=debug openscad.pro
make -s clean
case $OS in
MACOSX)
@@ -77,6 +77,7 @@ rm -rf openscad-$VERSION
rm -f openscad-$VERSION.zip
mkdir -p openscad-$VERSION/examples
cp examples/* openscad-$VERSION/examples/
+chmod -R 644 openscad-$VERSION/examples/*
case $OS in
MACOSX)
@@ -99,6 +100,7 @@ case $OS in
install_name_tool -change QtGui.framework/Versions/4/QtGui @executable_path/../Frameworks/QtGui OpenSCAD.app/Contents/Frameworks/libopencsg.dylib
install_name_tool -change QtCore.framework/Versions/4/QtCore @executable_path/../Frameworks/QtCore OpenSCAD.app/Contents/Frameworks/libopencsg.dylib
install_name_tool -id libGLEW.1.5.1.dylib OpenSCAD.app/Contents/Frameworks/libGLEW.1.5.1.dylib
+ mv OpenSCAD.app openscad-$VERSION
;;
WIN)
#package
contact: Jan Huwald // Impressum