diff Mac/BuildScript/build-installer.py @ 51563:971bb47ff70b

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:08:14 +0000
parents afab319252e7
children 08bf31848a42
line wrap: on
line diff
--- a/Mac/BuildScript/build-installer.py	Thu Feb 12 16:02:11 2009 +0000
+++ b/Mac/BuildScript/build-installer.py	Thu Feb 12 16:08:14 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(),))