From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6975158018 for ; Sun, 3 Oct 2021 11:15:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF7AEE0887; Sun, 3 Oct 2021 11:15:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D22BEE0887 for ; Sun, 3 Oct 2021 11:15:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B44A7340D67 for ; Sun, 3 Oct 2021 11:15:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D1F083 for ; Sun, 3 Oct 2021 11:15:19 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1633259695.62998b38d2dec75a06c1fc551244e1e75831e284.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qmerge.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 62998b38d2dec75a06c1fc551244e1e75831e284 X-VCS-Branch: master Date: Sun, 3 Oct 2021 11:15:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f2adefd5-64f6-4c0f-82a5-9445661722c9 X-Archives-Hash: 21d641becb3e6d4ee886f04839c950e5 commit: 62998b38d2dec75a06c1fc551244e1e75831e284 Author: Fabian Groffen gentoo org> AuthorDate: Sun Oct 3 11:14:55 2021 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun Oct 3 11:14:55 2021 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=62998b38 qmerge: ensure temp dir exists before writing environment to it Signed-off-by: Fabian Groffen gentoo.org> qmerge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qmerge.c b/qmerge.c index 406121c..aae3e26 100644 --- a/qmerge.c +++ b/qmerge.c @@ -740,7 +740,8 @@ pkg_run_func_at( /* TODO: This should be fatal upon error */ "emake() { ${MAKE:-make} ${MAKEOPTS} \"$@\"; }\n" /* Unpack the env */ - "{ bzip2 -dc '%1$s/environment.bz2' > \"%6$s/environment\" " + "{ mkdir -p \"%6$s\"; " + "bzip2 -dc '%1$s/environment.bz2' > \"%6$s/environment\" " "|| exit 1; }\n" /* Load the main env */ ". \"%6$s/environment\"\n"