Only fix up pathnames in installed scripts when needed, i.e. when not installing

to /. Pathnames are correct for installing to / since the DESTDIR patch.
This commit is contained in:
Jack Jansen 2003-06-16 15:10:47 +00:00
parent a93b3cc9c2
commit e5370655dc
1 changed files with 10 additions and 9 deletions

View File

@ -66,7 +66,7 @@ if [ "$DEST" = "/" ]; then
done done
fi fi
if [ "$DEST" != "/" ]; then
# The link in the app bundles and in pydoc need updating. # The link in the app bundles and in pydoc need updating.
installed_python=$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Resources/Python.app/Contents/MacOS/python installed_python=$DEST/Library/Frameworks/Python.framework/Versions/$PYVER/Resources/Python.app/Contents/MacOS/python
for app in BuildApplet IDLE PackageManager PythonIDE; do for app in BuildApplet IDLE PackageManager PythonIDE; do
@ -87,3 +87,4 @@ w
q q
xyzzy xyzzy
done done
fi