guix-commits
[Top][All Lists]
Advanced

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

01/04: guix-install.sh: Quote the OpenPGP key URL.


From: guix-commits
Subject: 01/04: guix-install.sh: Quote the OpenPGP key URL.
Date: Wed, 9 Sep 2020 03:28:53 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit ea0da48681e40acfa3cffca05b0f5f30df1d9348
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Sep 9 08:59:00 2020 +0200

    guix-install.sh: Quote the OpenPGP key URL.
    
    Without quotes, zsh fails with "no matches found" as it tries to
    interpret the question mark.
    
    * etc/guix-install.sh (chk_gpg_keyring): Enclose URL in single quotes.
---
 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 72dc383..aa77d42 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -111,7 +111,7 @@ chk_gpg_keyring()
     # 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 - 
| sudo -i gpg --import -"
+        echo "  wget 'https://sv.gnu.org/people/viewgpg.php?user_id=15145' -qO 
- | sudo -i gpg --import -"
         exit 1
     )
 }



reply via email to

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