build.sh: GLUON_TARGETS without if

This commit is contained in:
genofire 2020-08-09 18:35:44 +02:00 committed by GitHub
parent 52ec11f6a4
commit ab53cf479f
1 changed files with 1 additions and 3 deletions

View File

@ -21,9 +21,7 @@ GLUON_DIR="${GLUON_SITEDIR}/gluon/"
cd "${GLUON_DIR}"
make update V=s
if [ -z "${GLUON_TARGETS:-}" ]; then
GLUON_TARGETS="$(make list-targets)"
fi
GLUON_TARGETS=${GLUON_TARGETS:-"$(make list-targets)"}
for target in $GLUON_TARGETS; do
echo "Building target ${target}"