guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: guix-install.sh: Add variable quoting and curly-bracketing.


From: guix-commits
Subject: 04/04: guix-install.sh: Add variable quoting and curly-bracketing.
Date: Fri, 18 Dec 2020 07:22:34 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit d2532317d136ac063a24baeec6688ea0e0ebe37b
Author: Vincent Legoll <vincent.legoll@gmail.com>
AuthorDate: Sun May 31 22:42:57 2020 +0200

    guix-install.sh: Add variable quoting and curly-bracketing.
    
    * etc/guix-install.sh (guix_get_bin)[dl_path]: Add variable quoting and
    curly-bracketing.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 etc/guix-install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 46911ab..9015f40 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -271,7 +271,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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]