This commit is contained in:
Bob Mottram 2016-07-06 17:12:35 +01:00
parent 6290387734
commit dc03283118
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ 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} == "$variant_name "* || ${variants_list} == *" $variant_name "* || ${variants_list} == *" $variant_name" ]]; then
if [[ "${variants_list}" == "$variant_name "* || ${variants_list} == *" $variant_name "* || ${variants_list} == *" $variant_name" ]]; then
APPS_CHOSEN+=("1")
else
APPS_CHOSEN+=("0")