aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/environments/paludis/paludis_config.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/paludis/environments/paludis/paludis_config.cc b/paludis/environments/paludis/paludis_config.cc
index 1d54f1970..f7ce79321 100644
--- a/paludis/environments/paludis/paludis_config.cc
+++ b/paludis/environments/paludis/paludis_config.cc
@@ -269,6 +269,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
tr1::shared_ptr<Map<std::string, std::string> > conf_vars(
new Map<std::string, std::string>);
conf_vars->insert("ROOT", root_prefix);
+ conf_vars->insert("root", root_prefix);
Log::get_instance()->message(ll_debug, lc_no_context, "PaludisConfig real directory is '"
+ stringify(local_config_dir) + "', root prefix is '" + root_prefix +