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}"
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}"