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}" cd "${GLUON_DIR}"
make update V=s make update V=s
if [ -z "${GLUON_TARGETS:-}" ]; then GLUON_TARGETS=${GLUON_TARGETS:-"$(make list-targets)"}
GLUON_TARGETS="$(make list-targets)"
fi
for target in $GLUON_TARGETS; do for target in $GLUON_TARGETS; do
echo "Building target ${target}" echo "Building target ${target}"