aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/do_pretend_action.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-03 00:20:41 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-03 00:20:41 +0100
commit77f9ca11a1c69224a9c83c90f1dec3cb7afaa36e (patch)
tree178817edd0395f5849bcb1ef98840752b38d3d2f /paludis/repositories/e/do_pretend_action.cc
parente710a8015607d6c9404acc001312a5d82e436d8e (diff)
downloadpaludis-77f9ca11a1c69224a9c83c90f1dec3cb7afaa36e.tar.gz
paludis-77f9ca11a1c69224a9c83c90f1dec3cb7afaa36e.tar.xz
exdirectory
Diffstat (limited to 'paludis/repositories/e/do_pretend_action.cc')
-rw-r--r--paludis/repositories/e/do_pretend_action.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/repositories/e/do_pretend_action.cc b/paludis/repositories/e/do_pretend_action.cc
index f514e5229..d0c8abe1b 100644
--- a/paludis/repositories/e/do_pretend_action.cc
+++ b/paludis/repositories/e/do_pretend_action.cc
@@ -31,6 +31,7 @@
#include <paludis/util/make_named_values.hh>
#include <paludis/util/stringify.hh>
#include <paludis/util/join.hh>
+#include <paludis/util/make_null_shared_ptr.hh>
#include <paludis/dep_spec_flattener.hh>
#include <paludis/metadata_key.hh>
@@ -116,6 +117,7 @@ paludis::erepository::do_pretend_action(
n::maybe_output_manager() = output_manager,
n::package_builddir() = repo->params().builddir() / (stringify(id->name().category()) + "-" + stringify(id->name().package()) + "-" + stringify(id->version()) + "-bad_options"),
n::package_id() = id,
+ n::permitted_directories() = make_null_shared_ptr(),
n::portdir() =
(repo->params().master_repositories() && ! repo->params().master_repositories()->empty()) ?
(*repo->params().master_repositories()->begin())->params().location() : repo->params().location(),
@@ -177,6 +179,7 @@ paludis::erepository::do_pretend_action(
n::maybe_output_manager() = output_manager,
n::package_builddir() = repo->params().builddir() / (stringify(id->name().category()) + "-" + stringify(id->name().package()) + "-" + stringify(id->version()) + "-bad_options"),
n::package_id() = id,
+ n::permitted_directories() = make_null_shared_ptr(),
n::portdir() =
(repo->params().master_repositories() && ! repo->params().master_repositories()->empty()) ?
(*repo->params().master_repositories()->begin())->params().location() : repo->params().location(),
@@ -236,6 +239,7 @@ paludis::erepository::do_pretend_action(
n::maybe_output_manager() = output_manager,
n::package_builddir() = repo->params().builddir() / (stringify(id->name().category()) + "-" + stringify(id->name().package()) + "-" + stringify(id->version()) + "-pretend"),
n::package_id() = id,
+ n::permitted_directories() = make_null_shared_ptr(),
n::portdir() =
(repo->params().master_repositories() && ! repo->params().master_repositories()->empty()) ?
(*repo->params().master_repositories()->begin())->params().location() : repo->params().location(),