aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/eclass_mtimes.cc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-08-24 01:02:23 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-08-24 01:02:23 +0100
commita74bd5b6e5db7221829f57c9975434e815363764 (patch)
tree6703ce1126dc1fe588c5a9885e1b4b9e6a520be7 /paludis/repositories/e/eclass_mtimes.cc
parentd04fe3ec84b3752c6aa57294763f18cc9be5e6f4 (diff)
downloadpaludis-a74bd5b6e5db7221829f57c9975434e815363764.tar.gz
paludis-a74bd5b6e5db7221829f57c9975434e815363764.tar.xz
Fix cache for relative repository paths.
Diffstat (limited to 'paludis/repositories/e/eclass_mtimes.cc')
-rw-r--r--paludis/repositories/e/eclass_mtimes.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/eclass_mtimes.cc b/paludis/repositories/e/eclass_mtimes.cc
index e8136c73e..546537ea8 100644
--- a/paludis/repositories/e/eclass_mtimes.cc
+++ b/paludis/repositories/e/eclass_mtimes.cc
@@ -57,7 +57,7 @@ namespace
{
FSEntry f(*d / e);
if (f.exists())
- return & c.files.insert(std::make_pair(e, f)).first->second;
+ return & c.files.insert(std::make_pair(e, f.realpath())).first->second;
}
return 0;