Skip to content
Snippets Groups Projects
Commit 18d62a43 authored by Bob Mottram's avatar Bob Mottram
Browse files

Quotes

parent dc032831
No related branches found
No related tags found
No related merge requests found
......@@ -100,8 +100,8 @@ function choose_apps_for_variant {
APPS_AVAILABLE+=("${app_name}")
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
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
APPS_CHOSEN+=("1")
else
APPS_CHOSEN+=("0")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment