python: changed to not inject $root in etc/profile.d/python

This commit is contained in:
2009-05-18 06:59:13 -04:00
parent 3c87ef3d55
commit c82de591ed
+3 -6
View File
@@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../python/python.conf
# Copyright (C) 2007 - 2008 The OpenSDE Project
# Copyright (C) 2007 - 2009 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
@@ -17,9 +17,8 @@
python_postmake() {
cat > $root/etc/profile.d/python <<-EOT
export PYTHON="$root/$prefix/bin/python"
EOT
export PYTHON="$bindir/python"
EOT
}
python_preconf()
@@ -49,5 +48,3 @@ fix_python_for_64bit() {
}
[[ $libdir = *lib64 ]] && hook_add preconf 9 "fix_python_for_64bit"