From 51c73870b78db88f2307e779f0560e82fedee22d Mon Sep 17 00:00:00 2001 From: scarabeus Date: Fri, 29 Oct 2010 09:04:07 +0000 Subject: Extend PORTDIR_OVERLAY rather than overriding it to not create warnings. svn path=/trunk/gentoolkit/; revision=840 --- pym/gentoolkit/eshowkw/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym/gentoolkit') diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py index 3e3572e..6bb4e54 100644 --- a/pym/gentoolkit/eshowkw/__init__.py +++ b/pym/gentoolkit/eshowkw/__init__.py @@ -120,8 +120,8 @@ def main(argv): msg_err = 'No ebuilds at "%s"' % currdir raise SystemExit(msg_err) ourtree = os.path.abspath('../../') - - mysettings = portc(env={'PORTDIR_OVERLAY': os.path.abspath('../../')}) + overlays = '%s %s' % (ports['PORTDIR_OVERLAY'], ourtree) + mysettings = portc(env={'PORTDIR_OVERLAY': overlays}) dbapi = portdbapi(mysettings=mysettings) # specify that we want just our nice tree we are in cwd dbapi.porttrees = [ourtree] -- cgit v1.2.3-65-gdbad