From d110e776d3c178444130b1361a50b00eac7c0275 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Thu, 26 Oct 2006 13:49:45 +0000 Subject: streamline portage pythonpath handling and add an override analog to how the bash side does it svn path=/main/trunk/; revision=4822 --- bin/env-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/env-update') diff --git a/bin/env-update b/bin/env-update index 286996341..1026b1fc1 100755 --- a/bin/env-update +++ b/bin/env-update @@ -4,7 +4,7 @@ # $Id$ import os,sys -sys.path = ["/usr/lib/portage/pym"]+sys.path +sys.path.insert(0, os.environ.get("PORTAGE_PYM_PATH", "/usr/lib/portage/pym")) def usage(status): print "Usage: env-update [--no-ldconfig]" -- cgit v1.2.3-1-g7c22