diff deploy/osx/extract-leopard.sh @ 598:5bf32465213c

Add script to pull out an i386-only build from the standard universal build -- it seems 10.5 users are getting the x86 one and it isn't working for them
author Chris Cannam
date Tue, 24 Apr 2012 16:55:26 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deploy/osx/extract-leopard.sh	Tue Apr 24 16:55:26 2012 +0100
@@ -0,0 +1,13 @@
+mkdir -p 10.5/src
+cd 10.5
+cp -a ../EasyMercurial.app .
+lipo ../EasyMercurial.app/Contents/MacOS/EasyMercurial -remove x86_64 -output ./EasyMercurial.app/Contents/MacOS/EasyMercurial
+cp -a ../src/version.h src/
+cp -a ../COPYING .
+bash ../deploy/osx/deploy.sh EasyMercurial.app EasyMercurial_leopard
+cp *_leopard*.dmg ..
+cd ..
+rm -r 10.5
+echo Done
+
+