fix(quickget): make editions parsing shellcheck SC2207 compliant
https://www.shellcheck.net/wiki/SC2207
This commit is contained in:
parent
e52ba1fc60
commit
7cfdfd0cec
3
quickget
3
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}"
|
||||
|
|
Loading…
Reference in New Issue