python: changed to not inject $root in etc/profile.d/python
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user