mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Quotes needed to allow bracketed langs to match. User still needs to wrap the LANG parameter in quotes.
This commit is contained in:
parent
da8d0c7899
commit
86068f039a
1 changed files with 1 additions and 1 deletions
2
quickget
2
quickget
|
@ -2132,7 +2132,7 @@ if [ -n "${2}" ]; then
|
||||||
elif [ "${OS}" == "windows" ]; then
|
elif [ "${OS}" == "windows" ]; then
|
||||||
if [ -n "${3}" ]; then
|
if [ -n "${3}" ]; then
|
||||||
LANG_NAME="${3}"
|
LANG_NAME="${3}"
|
||||||
if [[ ! ${LANGS[*]} =~ ${LANG_NAME} ]]; then
|
if [[ ! ${LANGS[*]} =~ "${LANG_NAME}" ]]; then
|
||||||
echo "ERROR! ${LANG_NAME} is not a supported language:"
|
echo "ERROR! ${LANG_NAME} is not a supported language:"
|
||||||
for LANG in "${LANGS[@]}"; do
|
for LANG in "${LANGS[@]}"; do
|
||||||
echo "${LANG}"
|
echo "${LANG}"
|
||||||
|
|
Loading…
Reference in a new issue