From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uBMDIicX1F5vRQAA0tVLHw (envelope-from ) for ; Sun, 31 May 2020 20:44:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2NXeHScX1F5GRQAA1q6Kng (envelope-from ) for ; Sun, 31 May 2020 20:44:23 +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 4EB4E940039 for ; Sun, 31 May 2020 20:44:23 +0000 (UTC) Received: from localhost ([::1]:51534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfUog-00077N-7a for larch@yhetil.org; Sun, 31 May 2020 16:44:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfUoO-0006cr-Nu for guix-patches@gnu.org; Sun, 31 May 2020 16:44:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50636) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfUoO-0000qX-E9 for guix-patches@gnu.org; Sun, 31 May 2020 16:44:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jfUoO-0007KF-CM for guix-patches@gnu.org; Sun, 31 May 2020 16:44:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40601] [PATCH 7/7] guix-install.sh: Add missing variable quoting & curly-bracketing in guix_get_bin(). Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 31 May 2020 20:44:04 +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.159095783728098 (code B ref 40601); Sun, 31 May 2020 20:44:04 +0000 Received: (at 40601) by debbugs.gnu.org; 31 May 2020 20:43:57 +0000 Received: from localhost ([127.0.0.1]:33942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfUoH-0007J2-FR for submit@debbugs.gnu.org; Sun, 31 May 2020 16:43:57 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:42793) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfUnu-0007HT-8j for 40601@debbugs.gnu.org; Sun, 31 May 2020 16:43:34 -0400 Received: by mail-wr1-f53.google.com with SMTP id p5so3536544wrw.9 for <40601@debbugs.gnu.org>; Sun, 31 May 2020 13:43:34 -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=hv+8YqkYTmG+yORQcwLz2eKJ/Qn3YqvC6SvnvPCUMFg=; b=IYh1p5s5xPD+xvlyusvFOm3e7sXr+fXOyFZHX0eQVWg+Ib5A9RlHURoVKcmaRZHgBF 16qM8rGQbRxqzpP8e0gnjJTIUgKD9YQTIQKcjG+SRD2LV6brvCmTXvni9VHP5b6jXbNU VsJNfM3vHbfx+j8jpZvOn/MiroH2dnwhscU56ZGGVCz3WBNO42F3OJpB3M7TApBS7jVp YBRZ1dMkjTNMQ5VpNlzM82mr3IWNR5v9vmTzJHRCoEoRjiR5OiFt6B8qCOX63hyN3iRC z0Kc+gBQe9tSu/kLOS9gt2uuN0gbbxpc+1hxCjT8ssnUS1ZJmDLGn/GTXfK5M4I7aG4g NJ/A== 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=hv+8YqkYTmG+yORQcwLz2eKJ/Qn3YqvC6SvnvPCUMFg=; b=iRc0voX3RNcszswfEyZ8Ng0qkA5J8OHmYB9lXA0+QsJB3n/mDp7D1WADqnYUTSKuKi NnJ0GP4kkZKkfL+DsaG8Xb1CA/8NxqQ2a4TXYRL8IGIiJvB3Iv1xvbvZNA7UUKHyH+bG Nsyvez239ZGqP2N6ht9s39CWsxFIbux4yZyU1S+3TawJDEDQv4tc4w/1miVknn884u1E pC8P/94MzmvifRweCpKs+qUu5Yf8Da5aftj3Ofxx5KWiIjqKXi/EfSr4+INGDiTCnvZn 0uytBlQtS4EGfMzPaSvv4qP5BesP1Gs9yhoiRSAaYwGlFOF2fyErdS9uP/BNAWWoREUX E7vA== X-Gm-Message-State: AOAM531h+MPsgomebOwF7HNGJzi2UQzQ7MfUphwroJrMkab61JUOA1H3 lP0D0FxuUvdXFO2sK7fn7jGAG9o1 X-Google-Smtp-Source: ABdhPJxWBg56N5V3YMxPvgUHwKTdsetH4aq4i6bz7gFttyewgsweK2nAEjdZ+pnDF0lyq8wJnTs7bA== X-Received: by 2002:adf:a50e:: with SMTP id i14mr6932528wrb.21.1590957808521; Sun, 31 May 2020 13:43:28 -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 w10sm18728850wrp.16.2020.05.31.13.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 13:43:28 -0700 (PDT) From: Vincent Legoll Date: Sun, 31 May 2020 22:42:57 +0200 Message-Id: <20200531204257.18725-7-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200531204257.18725-1-vincent.legoll@gmail.com> References: <20200531204257.18725-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=IYh1p5s5; 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: qncM4ZnflOtp * etc/guix-install.sh (guix_get_bin)[dl_path]: Add missing variable quoting and curly-bracketing, [_PROGRESS_OPT]: Likewise. --- etc/guix-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 7d635c2c38..f0d4a38838 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -239,7 +239,8 @@ guix_get_bin() wget --help | grep -q '\--show-progress' && \ _PROGRESS_OPT="-q --show-progress" || _PROGRESS_OPT="" - wget $_PROGRESS_OPT -P "$dl_path" "${url}/${bin_ver}.tar.xz" "${url}/${bin_ver}.tar.xz.sig" + wget "${_PROGRESS_OPT}" -P "${dl_path}" "${url}/${bin_ver}.tar.xz" \ + "${url}/${bin_ver}.tar.xz.sig" if [[ "$?" -eq 0 ]]; then _msg "${PAS}download completed." @@ -248,7 +249,7 @@ guix_get_bin() exit 1 fi - pushd $dl_path >/dev/null + pushd "${dl_path}" >/dev/null gpg --verify "${bin_ver}.tar.xz.sig" >/dev/null 2>&1 if [[ "$?" -eq 0 ]]; then _msg "${PAS}Signature is valid." -- 2.26.2