summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-06 07:23:19 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-06 07:23:19 +0000
commitf3b3a7b69d70a9e4ac34a5b3a864021595adece5 (patch)
tree5eaf825a7cdb69e5db897ebd0dba2174cad02662
parent793aa839cff522bf30c5e8302c4e4f1c140ef872 (diff)
downloadportage-f3b3a7b69d70a9e4ac34a5b3a864021595adece5.tar.gz
portage-f3b3a7b69d70a9e4ac34a5b3a864021595adece5.tar.bz2
portage-f3b3a7b69d70a9e4ac34a5b3a864021595adece5.zip
Call dep_settings.setcpv() first so that ACCEPT_KEYWORDS when setcpv calls reset. The backup_changes call isn't working for some reason (reported by vapier).
svn path=/main/trunk/; revision=4414
-rwxr-xr-xbin/repoman4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index 148cd945c..2da6bea86 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1133,11 +1133,11 @@ for x in scanlist:
trees["/"]["porttree"].settings = dep_settings
portdb.mysettings = dep_settings
+ # for package.use.mask support inside dep_check
+ dep_settings.setcpv("/".join((catdir, y)))
dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups)
# just in case, prevent config.reset() from nuking these.
dep_settings.backup_changes("ACCEPT_KEYWORDS")
- # for package.use.mask support inside dep_check
- dep_settings.setcpv("/".join((catdir, y)))
for myprovide in myaux["PROVIDE"].split():
prov_cp = portage.dep_getkey(myprovide)