aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-23 22:53:50 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-23 22:53:50 +0000
commitaaca01da9db14082c7af6a6be0363a3bb172a996 (patch)
treeb2af8dc38d668c820cd5b8a8e30cf3fcd5e2c047
parentbdbf024639a6fa2fcea46fbb420b256ed9164c0e (diff)
downloadpaludis-aaca01da9db14082c7af6a6be0363a3bb172a996.tar.gz
paludis-aaca01da9db14082c7af6a6be0363a3bb172a996.tar.xz
Provide both ROOT and root vars
-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 1d54f19..f7ce793 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 +