Ensure that the correct PORTDIR setting is passed into the profile-specific
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:09:55 +0000 (07:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:09:55 +0000 (07:09 -0000)
config constructors. (trunk r13335)

svn path=/main/branches/2.1.6/; revision=13497

bin/repoman

index e1af1c749805ed9c419159978236612a8b0b1f31..46fdae0f8cedfda33040edba226c1d3ac111d694 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:')