Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage-utils:master commit in: /
Date: Sat, 31 Mar 2018 06:54:44
Message-Id: 1522440998.16e36c085ce6e9a72690f518baf62852b9196ee7.grobian@gentoo
1 commit: 16e36c085ce6e9a72690f518baf62852b9196ee7
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 30 20:08:34 2018 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 30 20:16:38 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=16e36c08
7
8 initialize_portage_env: avoid double prefix for repos.conf location
9
10 main.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/main.c b/main.c
14 index ec903fe..6ed2566 100644
15 --- a/main.c
16 +++ b/main.c
17 @@ -964,7 +964,7 @@ initialize_portage_env(void)
18 }
19
20 char *orig_main_overlay = main_overlay;
21 - read_repos_conf(configroot, CONFIG_EPREFIX "etc/portage/repos.conf");
22 + read_repos_conf(configroot, "/etc/portage/repos.conf");
23 if (orig_main_overlay != main_overlay)
24 free(orig_main_overlay);
25 if (array_cnt(overlays) == 0)