Skip to content

Commit 5b5d110

Browse files
Add version number to the link to the python documentation in
/Developer/Documentation/Python, better for users that install multiple versions of python.
1 parent b788346 commit 5b5d110

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
#!/bin/sh
22

3-
# FIXME
43
PYVER="@PYVER@"
54

65
if [ -d /Developer/Documentation ]; then
76
if [ ! -d /Developer/Documentation/Python ]; then
87
mkdir -p /Developer/Documentation/Python
98
fi
109

11-
ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation"
10+
ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation @PYVER@"
1211
fi

0 commit comments

Comments
 (0)