aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/resolve_common.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2014-09-14 14:51:53 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2014-09-14 14:51:53 +0100
commita8defde758297825a692608f5c36daeaeb536402 (patch)
tree577d01f0f321fd6e498a94430652e882452310f5 /src/clients/cave/resolve_common.cc
parentb28e304730944bde7e87390ad3880155642a70b4 (diff)
downloadpaludis-a8defde758297825a692608f5c36daeaeb536402.tar.gz
paludis-a8defde758297825a692608f5c36daeaeb536402.tar.xz
Add --chroot-path
Diffstat (limited to 'src/clients/cave/resolve_common.cc')
-rw-r--r--src/clients/cave/resolve_common.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clients/cave/resolve_common.cc b/src/clients/cave/resolve_common.cc
index 4e8c233e1..fe1cb8f51 100644
--- a/src/clients/cave/resolve_common.cc
+++ b/src/clients/cave/resolve_common.cc
@@ -831,6 +831,8 @@ paludis::cave::resolve_common(
find_replacing_helper.set_one_binary_per_slot(resolution_options.a_one_binary_per_slot.specified());
FindRepositoryForHelper find_repository_for_helper(env.get());
+ if (resolution_options.a_chroot_path.specified())
+ find_repository_for_helper.set_chroot_path(FSPath(resolution_options.a_chroot_path.argument()));
GetConstraintsForDependentHelper get_constraints_for_dependent_helper(env.get());
for (args::StringSetArg::ConstIterator i(resolution_options.a_less_restrictive_remove_blockers.begin_args()),