Ensure that the correct PORTDIR setting is passed into the profile-specific
authorZac Medico <zmedico@gentoo.org>
Sun, 12 Apr 2009 17:31:35 +0000 (17:31 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 12 Apr 2009 17:31:35 +0000 (17:31 -0000)
config constructors.

svn path=/main/trunk/; revision=13335

bin/repoman

index 709e5537b21f56b34c0399b77ac1268b0bc82e21..e64432a268a12d296785aeda1727d61cfaff653d 100755 (executable)
@@ -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:')