From 29687af4b70d009ad162425c600cf211d9a76d05 Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Sun, 17 May 2020 19:17:17 +0200 Subject: Add missing variable quoting & curly-bracketing for dl_path --- etc/guix-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 3c85f7cff7..3b91554796 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -241,7 +241,7 @@ 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." @@ -250,7 +250,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." -- cgit v1.2.3