summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-10-20 12:56:56 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-10-20 12:56:56 (GMT)
commitd0103292f052d3d5735d5b2d0a2307b02b75b8c3 (patch)
treee34b110cd6f4953518063358b6cdd404e23831f7 /Mac/BuildScript
parent22246fdd9d660144de762ec348130671f1d02db2 (diff)
downloadcpython-d0103292f052d3d5735d5b2d0a2307b02b75b8c3.zip
cpython-d0103292f052d3d5735d5b2d0a2307b02b75b8c3.tar.gz
cpython-d0103292f052d3d5735d5b2d0a2307b02b75b8c3.tar.bz2
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)
Diffstat (limited to 'Mac/BuildScript')
-rwxr-xr-xMac/BuildScript/build-installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index e126308..9ddfda9 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -866,7 +866,7 @@ def patchFile(inPath, outPath):
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