aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild_id.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-19 13:30:33 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-19 13:30:33 +0000
commita9be46e2316e6c06452b74777aca069433fb3d2a (patch)
treea6de317982ad3c88d5ec1f063d2d43b0efac70f8 /paludis/repositories/e/ebuild_id.cc
parentdf660379a0c4e6fffd66fab54cc3f3f9e1f54e96 (diff)
downloadpaludis-a9be46e2316e6c06452b74777aca069433fb3d2a.tar.gz
paludis-a9be46e2316e6c06452b74777aca069433fb3d2a.tar.xz
Put tokens on user masks
Diffstat (limited to 'paludis/repositories/e/ebuild_id.cc')
-rw-r--r--paludis/repositories/e/ebuild_id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild_id.cc b/paludis/repositories/e/ebuild_id.cc
index 03d428498..09ff33fba 100644
--- a/paludis/repositories/e/ebuild_id.cc
+++ b/paludis/repositories/e/ebuild_id.cc
@@ -596,7 +596,7 @@ EbuildID::need_masks_added() const
std::shared_ptr<const Mask> user_mask(_imp->environment->mask_for_user(shared_from_this(), false));
if (user_mask)
{
- if (_imp->environment->unmasked_by_user(shared_from_this(), "user"))
+ if (_imp->environment->unmasked_by_user(shared_from_this(), get_mask_token(*user_mask)))
add_overridden_mask(std::make_shared<OverriddenMask>(
make_named_values<OverriddenMask>(
n::mask() = user_mask,