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/dispatch-conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/dispatch-conf') diff --git a/bin/dispatch-conf b/bin/dispatch-conf index 960a38312..de937425c 100755 --- a/bin/dispatch-conf +++ b/bin/dispatch-conf @@ -15,7 +15,7 @@ from stat import * from random import * import atexit, commands, os, re, shutil, stat, string, sys -sys.path = ["/usr/lib/portage/pym"]+sys.path +sys.path.insert(0, os.environ.get("PORTAGE_PYM_PATH", "/usr/lib/portage/pym")) import portage, dispatch_conf from portage_exec import find_binary -- cgit v1.2.3-1-g7c22