]> granicus.if.org Git - python/commitdiff
Add version number to the link to the python documentation in
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 8 Oct 2006 17:37:58 +0000 (17:37 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sun, 8 Oct 2006 17:37:58 +0000 (17:37 +0000)
/Developer/Documentation/Python, better for users that install multiple versions
of python.

Mac/BuildScript/scripts/postflight.documentation

index 85d400fe123f4f61c44ce4dcc3ee82157051e3c5..9f5918ed78d089bddd3e6f32f52ea45d44ff9766 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-# FIXME
 PYVER="@PYVER@"
 
 if [ -d /Developer/Documentation ]; then
@@ -8,5 +7,5 @@ if [ -d /Developer/Documentation ]; then
                mkdir -p /Developer/Documentation/Python
        fi
 
-       ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation"
+       ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation @PYVER@"
 fi