From: scarabeus Date: Fri, 29 Oct 2010 09:04:07 +0000 (-0000) Subject: Extend PORTDIR_OVERLAY rather than overriding it to not create warnings. X-Git-Tag: gentoolkit-0.3.0_rc11~10 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=51c73870b78db88f2307e779f0560e82fedee22d;p=gentoolkit.git Extend PORTDIR_OVERLAY rather than overriding it to not create warnings. svn path=/trunk/gentoolkit/; revision=840 --- 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]