Browse Source

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

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
c82de591ed
  1. 9
      python/python/python.conf

9
python/python/python.conf

@ -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"

Loading…
Cancel
Save