diff options
author | Vincent Legoll <vincent.legoll@gmail.com> | 2020-05-17 19:17:17 +0200 |
---|---|---|
committer | Guix Patches Tester <> | 2020-05-24 21:33:47 +0100 |
commit | 29687af4b70d009ad162425c600cf211d9a76d05 (patch) | |
tree | 3993ba399e613613283beb6d36e9388fab09395e | |
parent | a2ad606c1f4c275cd04dbb470d007500113d8b66 (diff) | |
download | patches-29687af4b70d009ad162425c600cf211d9a76d05.tar patches-29687af4b70d009ad162425c600cf211d9a76d05.tar.gz |
Add missing variable quoting & curly-bracketing for dl_path
-rwxr-xr-x | etc/guix-install.sh | 4 |
1 files 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." |