view Mac/BuildScript/scripts/postflight.documentation @ 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 cc992d75d5b3
children e9fb6d50459a
line wrap: on
line source

#!/bin/sh

PYVER="@PYVER@"

if [ -d /Developer/Documentation ]; then
	if [ ! -d /Developer/Documentation/Python ]; then
		mkdir -p /Developer/Documentation/Python
	fi

	ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation @PYVER@"
fi