The (broken) conditional used to check which boards to use with releng-scripts
was always returning true. Fix it to use [[ ]] instead of (( ))
Change-Id: I244d95c95a40e14e7a3ea682030733096b2af746
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
# WIP: use $RELENG for subset of boards
__MACHINE=${MACHINE%-nogfx} # releng doesn't care
if [ ! -z $RELENG ] && \
- (( x$__MACHINE == x"qemux86-64" || \
- x$__MACHINE == x"m3ulcb" )); then
+ [[ x$__MACHINE == x"qemux86-64" || \
+ x$__MACHINE == x"m3ulcb" ]]; then
CREATE_ARGS=""
[[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="-j $GERRIT_CHANGE_NUMBER "
[[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="-i $GERRIT_PATCHSET_NUMBER "