diff Mac/BuildScript/build-installer.py @ 51564:acdb32341d87 3.0

Merged revisions 69544 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r69544 | ronald.oussoren | 2009-02-12 17:08:14 +0100 (Thu, 12 Feb 2009) | 2 lines Fix for issue5224 ("Update Shell Profile.command" contains wrong Python version on OSX) ........
author Ronald Oussoren <ronaldoussoren@mac.com>
date Thu, 12 Feb 2009 16:09:09 +0000
parents 4229a4b14f1d
children
line wrap: on
line diff
--- a/Mac/BuildScript/build-installer.py	Thu Feb 12 16:03:30 2009 +0000
+++ b/Mac/BuildScript/build-installer.py	Thu Feb 12 16:09:09 2009 +0000
@@ -1033,8 +1033,7 @@
     buildPythonDocs()
     fn = os.path.join(WORKDIR, "_root", "Applications",
                 "Python %s"%(getVersion(),), "Update Shell Profile.command")
-    patchFile("scripts/postflight.patch-profile",  fn)
-    os.chmod(fn, 0755)
+    patchScript("scripts/postflight.patch-profile",  fn)
 
     folder = os.path.join(WORKDIR, "_root", "Applications", "Python %s"%(
         getVersion(),))