From bc448664af5add9f76400c1a8aee0e4324bc609b Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Thu, 12 Feb 2009 16:08:14 +0000 Subject: Fix for issue5224 ("Update Shell Profile.command" contains wrong Python version on OSX) --- Mac/BuildScript/build-installer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Mac/BuildScript/build-installer.py') diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index dd606d947f..aa38cf17bd 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -1033,8 +1033,7 @@ def main(): 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(),)) -- cgit v1.2.1