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:43
Message-Id: 1522441000.32d16662a911ff06991a3b0bfb2c833df365457a.grobian@gentoo
1 commit: 32d16662a911ff06991a3b0bfb2c833df365457a
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 30 20:11:17 2018 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 30 20:16:40 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=32d16662
7
8 read_portage_env_file: make debug print the real 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 6ed2566..7c55358 100644
15 --- a/main.c
16 +++ b/main.c
17 @@ -648,7 +648,7 @@ read_portage_env_file(const char *configroot, const char *file, env_vars vars[])
18 char *buf, *s, *p;
19
20 if (getenv("DEBUG"))
21 - fprintf(stderr, "profile %s\n", file);
22 + fprintf(stderr, "profile %s/%s\n", configroot, file);
23
24 configroot_len = strlen(configroot);
25 file_len = strlen(file);