aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Legoll <vincent.legoll@gmail.com>2020-05-31 22:42:57 +0200
committerChristopher Baines <mail@cbaines.net>2020-12-18 12:21:25 +0000
commitd2532317d136ac063a24baeec6688ea0e0ebe37b (patch)
tree67643a8afe5f4087c0b83a51c17f37859b753f3a
parent1f4e878fc477940e230b461b7b62d5a96320f4dc (diff)
downloadguix-d2532317d136ac063a24baeec6688ea0e0ebe37b.tar
guix-d2532317d136ac063a24baeec6688ea0e0ebe37b.tar.gz
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>
-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 46911ab03c..9015f40bb6 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."