From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YKQuHah4kmDBKgAAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 12:51:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GHL9GKh4kmABHwAA1q6Kng (envelope-from ) for ; Wed, 05 May 2021 10:51:20 +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 C127629631 for ; Wed, 5 May 2021 12:51:19 +0200 (CEST) Received: from localhost ([::1]:40050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leF7e-0007vG-EE for larch@yhetil.org; Wed, 05 May 2021 06:51:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leF7O-0007kT-LN for guix-patches@gnu.org; Wed, 05 May 2021 06:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leF7O-0006YA-Dx for guix-patches@gnu.org; Wed, 05 May 2021 06:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leF7O-00081Z-89 for guix-patches@gnu.org; Wed, 05 May 2021 06:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48233] [PATCH 1/3] guix-install.sh: Please the shellcheck linter. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 May 2021 10:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer ,48233@debbugs.gnu.org Received: via spool by 48233-submit@debbugs.gnu.org id=B48233.162021182330838 (code B ref 48233); Wed, 05 May 2021 10:51:02 +0000 Received: (at 48233) by debbugs.gnu.org; 5 May 2021 10:50:23 +0000 Received: from localhost ([127.0.0.1]:59364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leF6k-00081K-Si for submit@debbugs.gnu.org; Wed, 05 May 2021 06:50:23 -0400 Received: from lepiller.eu ([89.234.186.109]:36356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leF6i-00081E-7I for 48233@debbugs.gnu.org; Wed, 05 May 2021 06:50:21 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id dfaa2d2f; Wed, 5 May 2021 10:50:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=BSrkBdrk0bR1W8+5j+UQ5G4KX4Sdxg6QYW6CiOFtw5s=; b=c04L3ZBgNgiB bNHe0R7jqMIwFP87IJCfjfUOsu+31PnZenq/WzC7EyVq9Lp0Lzjmz9JbRxv1xLzf 2cRo+W0ohWIBNxR+VkussBtDYaP1EAixnCTDZdX8lmhOVjutAWlA5ppbvADM41ce tHIgxWwKpFXrxPWSct+sg4nKag9fUrVIN679OFshwS1blpVvcI7eRoPi1I2JBiQ/ BASIwsmPYSmgC0dEpFmHSaK8iIXTvkPASI1zc9g7fRvfwKnOyXWL8J/Z4m846G/+ JEds1J4k1gYVa57iDjC+8zCVbHElK95ze9t2YuVNLbSnXQz5l5RMy/LoZIJ6LppV QWIMR+SS5Q== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 781a44ac (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 5 May 2021 10:50:17 +0000 (UTC) Date: Wed, 05 May 2021 06:50:09 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <20210505043202.24636-1-maxim.cournoyer@gmail.com> References: <87czu5lspv.fsf@gmail.com> <20210505043202.24636-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Julien Lepiller Message-ID: <2F845AA8-1309-4834-92FE-BBFFB0197093@lepiller.eu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620211880; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ahoEk4i6wLI1gfAchC7YKc2RNQ1iZ5aI6vfPzsm9oJ4=; b=lFBh0EvpvorvEzpq6ntdQbvB51LciyRw2QOwZmZk2tcgui1KVHUhhZN2dey0X3sSuzEoWy Lgo7yXA2xy5XDPscCa+jhhy8B+Ca+jH0jzWnf8KPO7YoOEvPbQUTy3GredvIj5zrARUpBI ffwJWlnLzwukUy1t6rmJ2eEdFNj2t+/J5yX908NqYeqCdEUyjc86a7qCByP3YSUfH/6TZM 8b9r7PnPKU7Z3qiu7JNyUK/E5Ff7mnL6Xb3uMgGnpiQp29W6kfuWaB1ZZip26RG8zI6Yzh 84LdRGyx12NIhy0lGEzN5BXCvfT6BaqU7HwZ6hKTv5oYzhGDlhWk1SA1Lgg3/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620211880; a=rsa-sha256; cv=none; b=EI7S8pVepDSLVSOgP0D3cJDiK3vq3s/YqnafUCyGoxxpWZTNU/W/miW0UGgj7j87JCfKFS H6vqfPx+oJBOt5UL0jU40wOg7XLaLz9Y0aCW/9B2oAm62S0cdtTy7vpA+drvAsGaFg0gZs ImehlxujWuwr5Ukq+fCEIGf0FnV52bt0qsOC6ovzIc5/JAEsBio+/97zKM6xMohjC4M/r4 IIUq6q6NHaoqilUx4FMxjeW6DExxTF9xX0BhcNU7ApWVzmiMypd5CEYU508VJqm7aNw4a3 EszBG+U4MQYT7B4nF3q9QLcmGxLpSmviq5JsUTyOoC4FsgHJmBHf3t2//Ynreg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=c04L3ZBg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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-Migadu-Spam-Score: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=c04L3ZBg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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-Migadu-Queue-Id: C127629631 X-Spam-Score: -2.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: 696ycWrD5Aru Le 5 mai 2021 00:32:00 GMT-04:00, Maxim Cournoyer a =C3=A9crit : >=20 > wget --help | grep -q '\--show-progress' && \ > _PROGRESS_OPT=3D"-q --show-progress" || _PROGRESS_OPT=3D"" >- wget $_PROGRESS_OPT -P "$dl_path" "${url}/${bin_ver}=2Etar=2Exz" >"${url}/${bin_ver}=2Etar=2Exz=2Esig" >=20 >- if [[ "$?" -eq 0 ]]; then >- _msg "${PAS}download completed=2E" >+ if wget "$_PROGRESS_OPT" -P "$dl_path" \ >+ "${url}/${bin_ver}=2Etar=2Exz" "${url}/${bin_ver}=2Etar=2Exz= =2Esig"; "$_PROGRESS_OPT" gets expanded to a single "-q --show-progress", which I d= oubt exists in wget :)=2E The previous version didn't have quotes=2E Otherwise, LGTM=2E=20