build.sh: GLUON_TARGETS without if

This commit is contained in:
genofire 2020-08-09 18:35:44 +02:00 committed by GitHub
parent 3392ddffb3
commit 485d4b9440
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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}"