From c82de591ede8fc958b637893d69098808443f5b5 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 18 May 2009 06:59:13 -0400 Subject: [PATCH] python: changed to not inject $root in etc/profile.d/python --- python/python/python.conf | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/python/python/python.conf b/python/python/python.conf index e09a3e8dd..c953a96c0 100644 --- a/python/python/python.conf +++ b/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" - -