view Mac/BuildScript/scripts/postflight.documentation @ 57114:d3a81051663b

importlib.test.source.util referenced variables in the 'finally' part of a try/finally which may not have been set.
author Brett Cannon <bcannon@gmail.com>
date Thu, 05 Nov 2009 01:17:22 +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