aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/vdb_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/vdb_repository.cc')
-rw-r--r--paludis/repositories/e/vdb_repository.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/repositories/e/vdb_repository.cc b/paludis/repositories/e/vdb_repository.cc
index 42b25f7..171aa5f 100644
--- a/paludis/repositories/e/vdb_repository.cc
+++ b/paludis/repositories/e/vdb_repository.cc
@@ -459,6 +459,7 @@ VDBRepository::perform_uninstall(
}
else
{
+ FSEntry package_builddir(_imp->params.builddir() / (stringify(id->name().category()) + "-" + stringify(id->name().package()) + "-" + stringify(id->version()) + "-uninstall"));
EbuildCommandParams params(make_named_values<EbuildCommandParams>(
value_for<n::builddir>(_imp->params.builddir()),
value_for<n::clearenv>(phase->option("clearenv")),
@@ -471,7 +472,7 @@ VDBRepository::perform_uninstall(
value_for<n::exlibsdirs>(make_shared_ptr(new FSEntrySequence)),
value_for<n::files_dir>(pkg_dir),
value_for<n::maybe_output_manager>(output_manager),
- value_for<n::package_builddir>(_imp->params.builddir() / (stringify(id->name().category()) + "-" + stringify(id->name().package()) + "-" + stringify(id->version()) + "-uninstall")),
+ value_for<n::package_builddir>(package_builddir),
value_for<n::package_id>(id),
value_for<n::portdir>(_imp->params.location()),
value_for<n::sandbox>(phase->option("sandbox")),
@@ -480,7 +481,7 @@ VDBRepository::perform_uninstall(
EbuildUninstallCommandParams uninstall_params(make_named_values<EbuildUninstallCommandParams>(
value_for<n::load_environment>(load_env.get()),
- value_for<n::loadsaveenv_dir>(pkg_dir),
+ value_for<n::loadsaveenv_dir>(package_builddir / "temp"),
value_for<n::replaced_by>(a.options.if_for_install_id()),
value_for<n::root>(stringify(_imp->params.root())),
value_for<n::unmerge_only>(false)