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 C9D041382C5 for ; Mon, 21 Jun 2021 21:23:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B828E086D; Mon, 21 Jun 2021 21:23:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14263E086D for ; Mon, 21 Jun 2021 21:23:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4083633D3C7 for ; Mon, 21 Jun 2021 21:23:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD23F7B4 for ; Mon, 21 Jun 2021 21:23:23 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1624298197.d4127c98b4b90b33e9c2e937aa71c20d0956ebc0.slyfox@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: d4127c98b4b90b33e9c2e937aa71c20d0956ebc0 X-VCS-Branch: master Date: Mon, 21 Jun 2021 21:23:23 +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: e525e4c4-fef7-4a7a-a440-7d1e5ee046c1 X-Archives-Hash: fc024acf33bc23ddceb083c83e5f4ec0 commit: d4127c98b4b90b33e9c2e937aa71c20d0956ebc0 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jun 21 17:56:37 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jun 21 17:56:37 2021 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=d4127c98 crossdev: use die() in eval() context to avoid error message swallowing Signed-off-by: Sergei Trofimovich gentoo.org> crossdev | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crossdev b/crossdev index 7bceed5..1a2b030 100755 --- a/crossdev +++ b/crossdev @@ -991,10 +991,7 @@ load_multilib_env() { else single_abi=false fi - if ! multilib_env ; then - echo "die 'could not load multilib settings for ${var}'" - exit 1 - fi + multilib_env || die "die 'could not load multilib settings for ${var}'" ${single_abi} && MULTILIB_ABIS=${DEFAULT_ABI} # output the desired env