view Mac/BuildScript/scripts/postflight.documentation @ 57359:b96ae3d8adfd 2.6

Merged revisions 76407 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76407 | ronald.oussoren | 2009-11-19 18:42:51 +0100 (Thu, 19 Nov 2009) | 4 lines Don't use the '==' operator with test, that's an unportable bash-ism. (Issue 7179) ........
author Ronald Oussoren <ronaldoussoren@mac.com>
date Thu, 19 Nov 2009 17:43:53 +0000
parents b9d3301e5f19
children bb757facbfa6
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