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/ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild') diff --git a/bin/ebuild b/bin/ebuild index 773910929..0160fa039 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -21,7 +21,7 @@ if "merge" in pargs: os.environ["FEATURES"] = os.environ.get("FEATURES", "") + " -noauto" os.environ["PORTAGE_CALLER"]="ebuild" -sys.path = ["/usr/lib/portage/pym"]+sys.path +sys.path.insert(0, os.environ.get("PORTAGE_PYM_PATH", "/usr/lib/portage/pym")) import portage, portage_util, portage_const -- cgit v1.2.3-1-g7c22