diff options
author | Krzesimir Nowak <knowak@microsoft.com> | 2022-12-14 12:52:25 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2022-12-15 10:02:33 +0100 |
commit | 9c67a37fc7709c9e314bc56ccdf7727bee02fc92 (patch) | |
tree | d6ff6ec3d508e9393ec2e1f740cfefa8533644bc | |
parent | qmerge: set EBUILD_PHASE_FUNC (diff) | |
download | portage-utils-9c67a37fc7709c9e314bc56ccdf7727bee02fc92.tar.gz portage-utils-9c67a37fc7709c9e314bc56ccdf7727bee02fc92.tar.bz2 portage-utils-9c67a37fc7709c9e314bc56ccdf7727bee02fc92.zip |
main: Print the ignored parent line in warning
If repo name in the parent line was empty, nothing was printed.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -646,6 +646,8 @@ read_portage_profile(const char *profile, env_vars vars[], set *masks) repo_name = NULL; } if (repo_name == NULL) { + /* bring back the colon to see the ignored parent line */ + *(--p) = ':'; warn("ignoring parent with unknown repo in profile %s: %s", profile, s); continue; |