full and other variants
This commit is contained in:
parent
ed0e6be64e
commit
2a40c5565c
|
@ -117,9 +117,9 @@ function choose_apps_for_variant {
|
|||
|
||||
if grep -q "VARIANTS=" ${filename}; then
|
||||
variants_list="$(cat ${filename} | grep "VARIANTS=" | awk -F '=' '{print $2}' | awk -F "'" '{print $2}')"
|
||||
if [[ "${variants_list}" == 'all' || \
|
||||
"${variants_list}" == 'any' || \
|
||||
"${variants_list}" == 'full' || \
|
||||
if [[ "${variants_list}" == 'all'* || \
|
||||
"${variants_list}" == 'any'* || \
|
||||
"${variants_list}" == 'full'* || \
|
||||
"${variants_list}" == "$variant_name "* || \
|
||||
"${variants_list}" == *" $variant_name "* || \
|
||||
"${variants_list}" == *" $variant_name" ]]; then
|
||||
|
|
Loading…
Reference in New Issue