summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-09-09 08:59:00 +0200
committerLudovic Courtès <ludo@gnu.org>2020-09-09 09:28:12 +0200
commitea0da48681e40acfa3cffca05b0f5f30df1d9348 (patch)
tree7d8f3b10dfd638230c0d4d352c8d1847fbc38099 /etc
parent8c944c4c4fd6cfe059fd75d1ac5081f414baadfe (diff)
downloadguix-patches-ea0da48681e40acfa3cffca05b0f5f30df1d9348.tar
guix-patches-ea0da48681e40acfa3cffca05b0f5f30df1d9348.tar.gz
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.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/guix-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 72dc3839e8..aa77d42615 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
)
}