aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/world.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-06-12 09:07:18 +0000
committerAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-06-14 12:37:55 +0000
commitcd5134be0c87d7682a3c3dae4940a07bf0ecb4c6 (patch)
treec995ebc3b38b9f56ad6fb76b9bd68300fc933db4 /paludis/environments/paludis/world.cc
parentcfeedb8b24a223070748cf7b6115fda839b86571 (diff)
downloadpaludis-cd5134be0c87d7682a3c3dae4940a07bf0ecb4c6.tar.gz
paludis-cd5134be0c87d7682a3c3dae4940a07bf0ecb4c6.tar.xz
Make --info show environment things. Fixes: ticket:593
Diffstat (limited to 'paludis/environments/paludis/world.cc')
-rw-r--r--paludis/environments/paludis/world.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/environments/paludis/world.cc b/paludis/environments/paludis/world.cc
index 08259f49c..5359efe89 100644
--- a/paludis/environments/paludis/world.cc
+++ b/paludis/environments/paludis/world.cc
@@ -182,3 +182,9 @@ World::world_set() const
std::tr1::shared_ptr<AllDepSpec>(new AllDepSpec)));
}
+std::tr1::shared_ptr<const FSEntry>
+World::location_if_set() const
+{
+ return _imp->maybe_world_file;
+}
+