annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38673
a19c20c5e5c7 Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
diff changeset
1 #!/bin/sh
a19c20c5e5c7 Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
diff changeset
2
a19c20c5e5c7 Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
diff changeset
3 PYVER="@PYVER@"
a19c20c5e5c7 Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
diff changeset
4
a19c20c5e5c7 Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
diff changeset
5 if [ -d /Developer/Documentation ]; then
a19c20c5e5c7 Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
diff changeset
6 if [ ! -d /Developer/Documentation/Python ]; then
a19c20c5e5c7 Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
diff changeset
7 mkdir -p /Developer/Documentation/Python
a19c20c5e5c7 Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
diff changeset
8 fi
a19c20c5e5c7 Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
diff changeset
9
40450
cc992d75d5b3 Four months of trunk changes (including a few releases...)
Thomas Wouters <thomas@python.org>
parents: 38673
diff changeset
10 ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation @PYVER@"
38673
a19c20c5e5c7 Merge the rest of the trunk.
Thomas Wouters <thomas@python.org>
parents:
diff changeset
11 fi