Skip to content

Commit 3da9edc

Browse files
authored
fix: correctly match editions (#1585)
Closes #1583
1 parent b60ff76 commit 3da9edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickget

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3602,7 +3602,7 @@ if [ -n "${2}" ]; then
36023602
EDITIONS=("$(editions_"${OS}")")
36033603
if [ -n "${3}" ]; then
36043604
EDITION="${3}"
3605-
if [[ ! " ${EDITIONS[*]} " = \ "${EDITION}"\ ]]; then
3605+
if [[ ! " ${EDITIONS[*]} " =~ \ "${EDITION}"\ ]]; then
36063606
echo -e "ERROR! ${EDITION} is not a supported $(pretty_name "${OS}") edition\n"
36073607
echo -n ' - Supported editions: '
36083608
for EDITION in "${EDITIONS[@]}"; do

0 commit comments

Comments
 (0)