summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index 3a1d5fa07..be8730f6a 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -418,10 +418,10 @@ def last(full=False):
Doesn't return (invokes sys.exit()
"""
#Retrieve and unpickle stats and fails from saved files
- savedf=open('/var/cache/edb/repo.stats','r')
+ savedf=open(os.path.join(portage.const.CACHE_PATH, 'repo.stats'),'r')
stats = pickle.load(savedf)
savedf.close()
- savedf=open('/var/cache/edb/repo.fails','r')
+ savedf=open(os.path.join(portage.const.CACHE_PATH, 'repo.fails'),'r')
fails = pickle.load(savedf)
savedf.close()