diff Mac/BuildScript/build-installer.py @ 65555:3baecd4e0c12

Don't lie about the supported architectures in the OSX installer Without this patch the i386/x86_64 installer for OSX 10.6 lies in the ReadMe file and the "Important Information" screen of the installer (that is, the installer claims it supports the i386 and ppc architectures insetead of the ones it really supports)
author Ronald Oussoren <ronaldoussoren@mac.com>
date Wed, 20 Oct 2010 12:56:56 +0000
parents e47aea86f714
children 50de9f1a6d54
line wrap: on
line diff
--- a/Mac/BuildScript/build-installer.py	Wed Oct 20 11:40:02 2010 +0000
+++ b/Mac/BuildScript/build-installer.py	Wed Oct 20 12:56:56 2010 +0000
@@ -866,7 +866,7 @@
     data = data.replace('$FULL_VERSION', getFullVersion())
     data = data.replace('$VERSION', getVersion())
     data = data.replace('$MACOSX_DEPLOYMENT_TARGET', ''.join((DEPTARGET, ' or later')))
-    data = data.replace('$ARCHITECTURES', "i386, ppc")
+    data = data.replace('$ARCHITECTURES', ", ".join(universal_opts_map[UNIVERSALARCHS]))
     data = data.replace('$INSTALL_SIZE', installSize())
 
     # This one is not handy as a template variable