aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2010-11-26 20:14:58 +0000
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2010-11-26 21:08:16 +0000
commitb62bde7b2bfd6848ded669fb20a0fbad495608c3 (patch)
treec1320658ff01d49ba2f2c5e45ceb437458fd4e2f
parent441fd39b9e87498e15fb328a104cc8d1ecf6a651 (diff)
downloadpaludis-b62bde7b2bfd6848ded669fb20a0fbad495608c3.tar.gz
paludis-b62bde7b2bfd6848ded669fb20a0fbad495608c3.tar.xz
Fix Display-If-Profile news header handling.
-rw-r--r--paludis/repositories/e/e_repository_news.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/e_repository_news.cc b/paludis/repositories/e/e_repository_news.cc
index c8b8476..fd17dc0 100644
--- a/paludis/repositories/e/e_repository_news.cc
+++ b/paludis/repositories/e/e_repository_news.cc
@@ -205,7 +205,7 @@ ERepositoryNews::update_news() const
{
std::string profile(strip_leading_string(strip_trailing_string(
strip_leading_string(stringify(p->realpath()),
- stringify(p->realpath())), "/"), "/"));
+ stringify(_imp->e_repository->location_key()->value().realpath() / "profiles")), "/"), "/"));
Log::get_instance()->message("e.news.profile_path", ll_debug, lc_no_context) <<
"Profile path is '" << profile << "'";
for (NewsFile::DisplayIfProfileConstIterator i(news.begin_display_if_profile()),