aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/pbin_merger.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-20 18:57:57 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-20 18:57:57 +0000
commit42ed4b3ffb46932a7315c0b08a1cb27ad789a823 (patch)
treec4090aaf090c804ceba1c6c0cf68ee703fbd6669 /paludis/repositories/e/pbin_merger.cc
parent8815d142c5245fd3969f547eb76c233b767ff6ce (diff)
downloadpaludis-42ed4b3ffb46932a7315c0b08a1cb27ad789a823.tar.gz
paludis-42ed4b3ffb46932a7315c0b08a1cb27ad789a823.tar.xz
Move env var names into header
Diffstat (limited to 'paludis/repositories/e/pbin_merger.cc')
-rw-r--r--paludis/repositories/e/pbin_merger.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/repositories/e/pbin_merger.cc b/paludis/repositories/e/pbin_merger.cc
index 134bb76b3..16a9c421d 100644
--- a/paludis/repositories/e/pbin_merger.cc
+++ b/paludis/repositories/e/pbin_merger.cc
@@ -18,12 +18,15 @@
*/
#include <paludis/repositories/e/pbin_merger.hh>
+
#include <paludis/util/pimp-impl.hh>
#include <paludis/util/fs_stat.hh>
#include <paludis/util/make_named_values.hh>
#include <paludis/util/system.hh>
#include <paludis/util/join.hh>
#include <paludis/util/log.hh>
+#include <paludis/util/env_var_names.hh>
+
#include <paludis/hook.hh>
#include <paludis/environment.hh>
#include <paludis/package_id.hh>
@@ -71,7 +74,7 @@ PbinMerger::PbinMerger(const PbinMergerParams & p) :
n::install_under() = FSPath("/"),
n::maybe_output_manager() = p.output_manager(),
n::merged_entries() = p.merged_entries(),
- n::no_chown() = ! getenv_with_default("PALUDIS_NO_CHOWN", "").empty(),
+ n::no_chown() = ! getenv_with_default(env_vars::no_chown, "").empty(),
n::options() = p.options(),
n::root() = p.root(),
n::tar_file() = p.tar_file()