aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-07-31 00:06:57 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-07-31 00:06:57 +0000
commit0aaa1674486394521e6e3172b116ef7bfbb605e6 (patch)
tree50419c9f7e17fb5727965809e6cc6c946bbb049d
parentaeca77724e1faa38c541ef06a55f7baf0bef3d78 (diff)
downloadpaludis-0aaa1674486394521e6e3172b116ef7bfbb605e6.tar.gz
paludis-0aaa1674486394521e6e3172b116ef7bfbb605e6.tar.xz
fix distcheck
-rw-r--r--paludis/environments/environment_maker.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/environments/environment_maker.cc b/paludis/environments/environment_maker.cc
index 67932dc..3e66bf5 100644
--- a/paludis/environments/environment_maker.cc
+++ b/paludis/environments/environment_maker.cc
@@ -160,7 +160,8 @@ EnvironmentMaker::make_from_spec(const std::string & s) const
}
catch (const FallBackToAnotherMakerError &)
{
- std::string f(DistributionData::get_instance()->distribution_from_string(DEFAULT_DISTRIBUTION)->fallback_environment);
+ std::string f(DistributionData::get_instance()->distribution_from_string(
+ getenv_with_default("PALUDIS_DISTRIBUTION", DEFAULT_DISTRIBUTION))->fallback_environment);
if (s.empty() && ! f.empty())
{
std::set<std::string> keys;