aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@infinera.com>2021-06-16 16:52:59 +0200
committerFabian Groffen <grobian@gentoo.org>2021-06-16 21:19:43 +0200
commita1c3e594cd2cbf49f8eacac038e1b8f8cfb64199 (patch)
tree08c7c58276e8e4af0cbc11d1d11acb6c5997b07a
parentqmerge: fix type for NULL SLOTs (diff)
downloadportage-utils-a1c3e594.tar.gz
portage-utils-a1c3e594.tar.bz2
portage-utils-a1c3e594.zip
qmerge: Use same image dir. name as portage
atom_to_string(mpkg->atom) will attach ::gentoo to name which is different from portage. Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r--qmerge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmerge.c b/qmerge.c
index 3b74426..ac7ce6d 100644
--- a/qmerge.c
+++ b/qmerge.c
@@ -1108,7 +1108,7 @@ pkg_merge(int level, const depend_atom *qatom, const tree_match_ctx *mpkg)
}
/* Set up our temp dir to unpack this stuff FIXME p -> builddir */
- xasprintf(&p, "%s/qmerge/%s", port_tmpdir, atom_to_string(mpkg->atom));
+ xasprintf(&p, "%s/qmerge/%s/%s", port_tmpdir, mpkg->atom->CATEGORY, mpkg->atom->PF);
mkdir_p(p, 0755);
xchdir(p);
xasprintf(&D, "%s/image", p);