From 7cfdfd0cec46f1b673ffe65e365901fdedeeb67e Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 7 May 2024 11:23:47 +0100 Subject: [PATCH] fix(quickget): make editions parsing shellcheck SC2207 compliant https://www.shellcheck.net/wiki/SC2207 --- quickget | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickget b/quickget index c2c8fa8..8948bee 100755 --- a/quickget +++ b/quickget @@ -3532,7 +3532,8 @@ if [ -n "${2}" ]; then # If the OS has an editions_() function, use it. if [[ $(type -t "editions_${OS}") == function ]]; then validate_release "releases_${OS}" - EDITIONS=($(editions_${OS})) + EDITIONS=("$(editions_${OS})") + # Default to the first edition if none is specified. EDITION=${EDITIONS[0]} if [ -n "${3}" ]; then EDITION="${3}"