All variants
This commit is contained in:
parent
05f41cfdc0
commit
f5e3821e43
|
@ -103,7 +103,7 @@ function choose_apps_for_variant {
|
||||||
|
|
||||||
if grep -q "VARIANTS=" ${filename}; then
|
if grep -q "VARIANTS=" ${filename}; then
|
||||||
variants_list="$(cat ${filename} | grep "VARIANTS=" | awk -F '=' '{print $2}' | awk -F "'" '{print $2}')"
|
variants_list="$(cat ${filename} | grep "VARIANTS=" | awk -F '=' '{print $2}' | awk -F "'" '{print $2}')"
|
||||||
if [[ "${variants_list}" == "$variant_name "* || "${variants_list}" == *" $variant_name "* || "${variants_list}" == *" $variant_name" ]]; then
|
if [[ "${variants_list}" == 'all' || "${variants_list}" == "$variant_name "* || "${variants_list}" == *" $variant_name "* || "${variants_list}" == *" $variant_name" ]]; then
|
||||||
APPS_CHOSEN+=("1")
|
APPS_CHOSEN+=("1")
|
||||||
else
|
else
|
||||||
APPS_CHOSEN+=("0")
|
APPS_CHOSEN+=("0")
|
||||||
|
|
Loading…
Reference in New Issue