Skip to content

Commit

Permalink
fix: correctly match editions (#1585)
Browse files Browse the repository at this point in the history
Closes #1583
  • Loading branch information
philclifford authored Feb 10, 2025
1 parent b60ff76 commit 3da9edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickget
Original file line number Diff line number Diff line change
Expand Up @@ -3602,7 +3602,7 @@ if [ -n "${2}" ]; then
EDITIONS=("$(editions_"${OS}")")
if [ -n "${3}" ]; then
EDITION="${3}"
if [[ ! " ${EDITIONS[*]} " = \ "${EDITION}"\ ]]; then
if [[ ! " ${EDITIONS[*]} " =~ \ "${EDITION}"\ ]]; then
echo -e "ERROR! ${EDITION} is not a supported $(pretty_name "${OS}") edition\n"
echo -n ' - Supported editions: '
for EDITION in "${EDITIONS[@]}"; do
Expand Down

0 comments on commit 3da9edc

Please sign in to comment.