Fix for issue5224 ("Update Shell Profile.command" contains wrong Python version on OSX)

This commit is contained in:
Ronald Oussoren 2009-02-12 16:08:14 +00:00
parent 9e35004509
commit bc448664af
2 changed files with 3 additions and 4 deletions

View file

@ -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(),))