Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/elog/
Date: Sat, 03 Sep 2011 23:00:55
Message-Id: 48e99671013b1dec046059724b01324d8aa1086c.zmedico@gentoo
1 commit: 48e99671013b1dec046059724b01324d8aa1086c
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 3 22:59:38 2011 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 3 22:59:38 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=48e99671
7
8 elog/mod_save: join /var/log with EPREFIX
9
10 ---
11 pym/portage/elog/mod_save.py | 2 +-
12 pym/portage/elog/mod_save_summary.py | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/pym/portage/elog/mod_save.py b/pym/portage/elog/mod_save.py
16 index 091bbf8..bfccd77 100644
17 --- a/pym/portage/elog/mod_save.py
18 +++ b/pym/portage/elog/mod_save.py
19 @@ -18,7 +18,7 @@ def process(mysettings, key, logentries, fulltext):
20 if mysettings.get("PORT_LOGDIR"):
21 logdir = normalize_path(mysettings["PORT_LOGDIR"])
22 else:
23 - logdir = os.path.join(os.sep, "var", "log", "portage")
24 + logdir = os.path.join(mysettings["EPREFIX"], "var", "log", "portage")
25
26 if not os.path.isdir(logdir):
27 # Only initialize group/mode if the directory doesn't
28
29 diff --git a/pym/portage/elog/mod_save_summary.py b/pym/portage/elog/mod_save_summary.py
30 index ab71724..3196d43 100644
31 --- a/pym/portage/elog/mod_save_summary.py
32 +++ b/pym/portage/elog/mod_save_summary.py
33 @@ -18,7 +18,7 @@ def process(mysettings, key, logentries, fulltext):
34 if mysettings.get("PORT_LOGDIR"):
35 logdir = normalize_path(mysettings["PORT_LOGDIR"])
36 else:
37 - logdir = os.path.join(os.sep, "var", "log", "portage")
38 + logdir = os.path.join(mysettings["EPREFIX"], "var", "log", "portage")
39
40 if not os.path.isdir(logdir):
41 # Only initialize group/mode if the directory doesn't