summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-10-31 03:46:22 +0000
committerZac Medico <zmedico@gentoo.org>2008-10-31 03:46:22 +0000
commit96f110182b1cda28c60e42676a7b1c9084860a2d (patch)
treed735044cca9f861b87990234ff17ea5e07aac88a
parent22061b4f35bb49e39bce95862d1b458ca2b8afd4 (diff)
downloadportage-96f110182b1cda28c60e42676a7b1c9084860a2d.tar.gz
portage-96f110182b1cda28c60e42676a7b1c9084860a2d.tar.bz2
portage-96f110182b1cda28c60e42676a7b1c9084860a2d.zip
Pass a Package instance into the config.setcpv() call.
svn path=/main/trunk/; revision=11759
-rwxr-xr-xbin/repoman2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 660294c68..98187970d 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1468,7 +1468,7 @@ for x in scanlist:
portdb.mysettings = dep_settings
portdb.xcache = xcache
# for package.use.mask support inside dep_check
- dep_settings.setcpv("/".join((catdir, y)))
+ dep_settings.setcpv(pkg)
dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups)
# just in case, prevent config.reset() from nuking these.
dep_settings.backup_changes("ACCEPT_KEYWORDS")