diff options
author | scarabeus <scarabeus@gentoo.org> | 2010-10-29 09:04:07 +0000 |
---|---|---|
committer | scarabeus <scarabeus@gentoo.org> | 2010-10-29 09:04:07 +0000 |
commit | 51c73870b78db88f2307e779f0560e82fedee22d (patch) | |
tree | 1e7041e3f0c8286692eb22d8c014e954daf64cff /pym/gentoolkit/eshowkw/__init__.py | |
parent | Add encoding informations. (diff) | |
download | gentoolkit-51c73870b78db88f2307e779f0560e82fedee22d.tar.gz gentoolkit-51c73870b78db88f2307e779f0560e82fedee22d.tar.bz2 gentoolkit-51c73870b78db88f2307e779f0560e82fedee22d.zip |
Extend PORTDIR_OVERLAY rather than overriding it to not create warnings.
svn path=/trunk/gentoolkit/; revision=840
Diffstat (limited to 'pym/gentoolkit/eshowkw/__init__.py')
-rw-r--r-- | pym/gentoolkit/eshowkw/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
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] |