annotate Mac/BuildScript/scripts/postflight.documentation @ 65035:87f4b32905df 2.7

Cosmetic fix to use print function.
author Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
date Fri, 01 Oct 2010 10:48:47 +0000
parents b9d3301e5f19
children bb757facbfa6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38252
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
1 #!/bin/sh
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
2
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
3 PYVER="@PYVER@"
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
4
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
5 if [ -d /Developer/Documentation ]; then
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
6 if [ ! -d /Developer/Documentation/Python ]; then
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
7 mkdir -p /Developer/Documentation/Python
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
8 fi
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
9
40049
b9d3301e5f19 Add version number to the link to the python documentation in
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38645
diff changeset
10 ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation @PYVER@"
38252
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
11 fi