summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-12 17:31:35 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-12 17:31:35 +0000
commit7cd8528c63d5be3a86c33610a4463fb4e71fe4f2 (patch)
tree0e25679621ff47e8b0be355cb7cf9a4d9f9d8273
parent1962e7117d239c69fb355708c8ff860af337aaae (diff)
downloadportage-7cd8528c63d5be3a86c33610a4463fb4e71fe4f2.tar.gz
portage-7cd8528c63d5be3a86c33610a4463fb4e71fe4f2.tar.bz2
portage-7cd8528c63d5be3a86c33610a4463fb4e71fe4f2.zip
Ensure that the correct PORTDIR setting is passed into the profile-specific
config constructors. svn path=/main/trunk/; revision=13335
-rwxr-xr-xbin/repoman1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 709e5537b..e64432a26 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:')