From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wIabJxNywV7TBgAA0tVLHw (envelope-from ) for ; Sun, 17 May 2020 17:19:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MJ1LIxNywV5ZeAAAbx9fmQ (envelope-from ) for ; Sun, 17 May 2020 17:19:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3223D940143 for ; Sun, 17 May 2020 17:19:15 +0000 (UTC) Received: from localhost ([::1]:40760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaMwU-0008JX-3d for larch@yhetil.org; Sun, 17 May 2020 13:19:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaMwN-0008Fv-Jb for guix-patches@gnu.org; Sun, 17 May 2020 13:19:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaMwN-0004M0-3x for guix-patches@gnu.org; Sun, 17 May 2020 13:19:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jaMwL-00079v-VZ for guix-patches@gnu.org; Sun, 17 May 2020 13:19:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40601] [PATCH 10/28] guix-install.sh: Replace subshell-inducing command grouping. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 May 2020 17:19:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40601@debbugs.gnu.org Cc: Vincent Legoll Received: via spool by 40601-submit@debbugs.gnu.org id=B40601.158973589627308 (code B ref 40601); Sun, 17 May 2020 17:19:05 +0000 Received: (at 40601) by debbugs.gnu.org; 17 May 2020 17:18:16 +0000 Received: from localhost ([127.0.0.1]:44586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaMvX-00076I-Lu for submit@debbugs.gnu.org; Sun, 17 May 2020 13:18:15 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:40671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaMvE-00071V-9x for 40601@debbugs.gnu.org; Sun, 17 May 2020 13:17:56 -0400 Received: by mail-wm1-f43.google.com with SMTP id n18so3495194wmj.5 for <40601@debbugs.gnu.org>; Sun, 17 May 2020 10:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ytrjZ5+hfsUd6CTscL8Kv2fvv7PYXRhpj9ozR1tFr04=; b=HssHqkVS1hmOddimWSPF0LXzEoonwULQoXtAQx9uWnEyEM36ay7F3At3OY42149EYF /SxsxB6KvXqwSROvS87en3lHOmnsn4zzQQsXaf618B0BF0wEXIAWOSocUcQU/SxVRtng OxMfJz3CHNU6RwRvXCRfWsCvwC/74vpyja9KxJjTWKlfy2gd2LMxIwiRTbvO7xb4PNUq /7cOOoPT59L7dPmVPF0vhcGlW1ZQts0OPXmaEtDktJO5bnNASzMsVXhmILqDnPvHyInQ 1gLyHnahgqKbGsM/ZG9f/slmQwybqLuovTMgDVIlmAeD7/Ms1cvgr6VC8N+rO08vknHB EefA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ytrjZ5+hfsUd6CTscL8Kv2fvv7PYXRhpj9ozR1tFr04=; b=FKJEV1ty5/UA4l7Mmx4KUcW6PEA/kH6qcOEq0Xcmor9gvW3kHExVA670FgAWIYXHw2 5XSU1YS+vbpLG6m9dhjRYJiRj1zOgh5gmR09hqqS+UamytMOPeeIRrdkXLgWFQ9wwjdC 2yEItMknKllx94+nfao1gPv7VmJr1FJNxn9WyxeU7dfXkDHvqc0zSQpwQZcLa5rs+C1H LNjv/O7ou0jhnacWfu29OJnzTci02FogKzG90KleWtguDLMpsxQmBzAG7zDLiXEmc8zo ACF4cu8425gJbUtpP3cVKFx7DvRPT+UaZ7lPKsROSGWkq8UFWUWGNdHoWEtp3E4ubNHC JZxQ== X-Gm-Message-State: AOAM530aHx+kBtrtXu4LTCRo3iKUFS7Ro+FyxYvBZnF2HtpZdgZmAqVO rhaEqISjH2l4YSrtFcrI0gc6Xlm5 X-Google-Smtp-Source: ABdhPJzVd14f1pAUkMDnjrQpi+CJw6a3W+/Sq0VrFTKkOViVsJEPqpXTF7VQfkSbCf/rHvQjIis+IA== X-Received: by 2002:a1c:19c1:: with SMTP id 184mr14086263wmz.29.1589735870462; Sun, 17 May 2020 10:17:50 -0700 (PDT) Received: from localhost.localdomain (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id v126sm13305048wma.9.2020.05.17.10.17.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 10:17:50 -0700 (PDT) From: Vincent Legoll Date: Sun, 17 May 2020 19:17:07 +0200 Message-Id: <20200517171725.732-10-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200517171725.732-1-vincent.legoll@gmail.com> References: <20200517171725.732-1-vincent.legoll@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=HssHqkVS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 4.09 X-TUID: ynbItx3rXByH * etc/guix-install.sh (chk_gpg_keyring): Replace () command grouping by {}. --- etc/guix-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 19883b89ae..d2e44e98b2 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -110,11 +110,11 @@ chk_gpg_keyring() # Without --dry-run this command will create a ~/.gnupg owned by root on # systems where gpg has never been used, causing errors and confusion. - gpg --dry-run --list-keys ${OPENPGP_SIGNING_KEY_ID} >/dev/null 2>&1 || ( - _err "${ERR}Missing OpenPGP public key. Fetch it with this command:" - echo " wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import -" - exit 1 - ) + gpg --dry-run --list-keys ${OPENPGP_SIGNING_KEY_ID} >/dev/null 2>&1 || { + _err "${ERR}Missing OpenPGP public key. Fetch it with this command:"; + echo " wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import -"; + exit 1; + } } chk_term() -- 2.26.2