From 464c13ac174d300b746e62f2466eaf3a3a542416 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 29 Oct 2021 11:26:44 +0100 Subject: [PATCH] Add braces to variables --- quickget | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index 6842fa2..310406d 100755 --- a/quickget +++ b/quickget @@ -633,8 +633,8 @@ function get_archlinux() { validate_release "releases_archlinux" VERSION=$(wget -q -O- 'https://archlinux.org/releng/releases/json/' | jq '.latest_version' | cut -d "\"" -f 2) - URL="https://mirror.rackspace.com/archlinux/iso/$VERSION" - ISO="archlinux-$VERSION-x86_64.iso" + URL="https://mirror.rackspace.com/archlinux/iso/${VERSION}" + ISO="archlinux-${VERSION}-x86_64.iso" HASH=$(wget -q -O- 'https://archlinux.org/releng/releases/json/' | jq '.releases[0].sha1_sum' | cut -d "\"" -f 2) web_get "${URL}/${ISO}" "${VM_PATH}" check_hash "${ISO}" "${HASH}"