aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unpackaged/unpackaged_key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/unpackaged/unpackaged_key.cc')
-rw-r--r--paludis/repositories/unpackaged/unpackaged_key.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/unpackaged/unpackaged_key.cc b/paludis/repositories/unpackaged/unpackaged_key.cc
index 119d1a61b..31842b65f 100644
--- a/paludis/repositories/unpackaged/unpackaged_key.cc
+++ b/paludis/repositories/unpackaged/unpackaged_key.cc
@@ -168,8 +168,8 @@ UnpackagedChoicesKey::value() const
if (_imp->id->strip_key())
strip = _imp->id->strip_key()->value();
- build_options->add(std::make_shared<ELikeSplitChoiceValue>(_imp->id->shared_from_this(), _imp->env, build_options, strip));
- build_options->add(std::make_shared<ELikeStripChoiceValue>(_imp->id->shared_from_this(), _imp->env, build_options, strip));
+ build_options->add(std::make_shared<ELikeSymbolsChoiceValue>(_imp->id->shared_from_this(), _imp->env, build_options,
+ strip.is_true() ? escvp_strip : strip.is_false() ? escvp_preserve : last_escvp));
Tribool preserve_work(indeterminate);
if (_imp->id->preserve_work_key())