build.sh: fix parsing of platform data

As the platform data is only separated by spaces, the data is assigned
to the incorrect variable:

ccardimx28js variants: -
ccardimx28js targets: e w wb web web1 dey-image-qt

After this commit:

ccardimx28js variants: - e w wb web web1
ccardimx28js targets: dey-image-qt

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2017-07-11 18:41:11 +02:00
parent 2064525ede
commit d7a9f1a6ee
1 changed files with 3 additions and 3 deletions

View File

@ -166,10 +166,10 @@ while read _pl _var _tgt; do
fi fi
fi fi
[ -n "${DY_TARGET}" ] && _tgt="${DY_TARGET}" || true [ -n "${DY_TARGET}" ] && _tgt="${DY_TARGET}" || true
eval "${_pl}_var=\"${_var}\"" eval "${_pl}_var=\"${_var//,/ }\""
eval "${_pl}_tgt=\"${_tgt}\"" eval "${_pl}_tgt=\"${_tgt//,/ }\""
done<<-_EOF_ done<<-_EOF_
ccardimx28js - e w wb web web1 dey-image-qt ccardimx28js -,e,w,wb,web,web1 dey-image-qt
ccimx6sbc DONTBUILDVARIANTS dey-image-qt ccimx6sbc DONTBUILDVARIANTS dey-image-qt
ccimx6ulsbc DONTBUILDVARIANTS dey-image-qt ccimx6ulsbc DONTBUILDVARIANTS dey-image-qt
ccimx6ulstarter DONTBUILDVARIANTS core-image-base ccimx6ulstarter DONTBUILDVARIANTS core-image-base