summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:09:55 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:09:55 +0000
commitce28de02f9a9b0cf9b1a39e3fd3dacd64c71fc19 (patch)
treec7598714f342be030a194933d10d89caadb40bce /bin
parentBug #265768 - Handle CacheError when deleting currupt cache inside (diff)
downloadportage-multirepo-ce28de02f9a9b0cf9b1a39e3fd3dacd64c71fc19.tar.gz
portage-multirepo-ce28de02f9a9b0cf9b1a39e3fd3dacd64c71fc19.tar.bz2
portage-multirepo-ce28de02f9a9b0cf9b1a39e3fd3dacd64c71fc19.zip
Ensure that the correct PORTDIR setting is passed into the profile-specific
config constructors. (trunk r13335) svn path=/main/branches/2.1.6/; revision=13497
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index e1af1c74..46fdae0f 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -501,6 +501,7 @@ portdir = portdb.porttrees[0]
# Generate an appropriate PORTDIR_OVERLAY value for passing into the
# profile-specific config constructor calls.
env = os.environ.copy()
+env['PORTDIR'] = portdir
env['PORTDIR_OVERLAY'] = ' '.join(portdb.porttrees[1:])
logging.info('Setting paths:')