From 6cd3e7322921667d893ffe86c025a1b09d010586 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 16 Jan 2011 07:40:20 -0800 Subject: repoman: fix PORTDIR consistency for herds.xml This fixes a case in which repoman could use the PORTDIR setting in make.conf to grab herds.xml, even though cwd refers to a different path (cvs tree rather than rsync tree). --- bin/repoman | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/repoman b/bin/repoman index 8c926ca41..3938f49cf 100755 --- a/bin/repoman +++ b/bin/repoman @@ -578,6 +578,8 @@ portdir_overlay = os.path.realpath(portdir_overlay) repo_info = portdb._repo_info[portdir_overlay] portdb.porttrees = list(repo_info.eclass_db.porttrees) portdir = portdb.porttrees[0] +repoman_settings['PORTDIR'] = portdir +repoman_settings.backup_changes('PORTDIR') # Generate an appropriate PORTDIR_OVERLAY value for passing into the # profile-specific config constructor calls. -- cgit v1.2.3-1-g7c22