From ab53cf479f5893825b03c2345c113b8623ce1426 Mon Sep 17 00:00:00 2001 From: genofire Date: Sun, 9 Aug 2020 18:35:44 +0200 Subject: [PATCH] build.sh: GLUON_TARGETS without if --- build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 9f70f80..bb9d8e7 100755 --- a/build.sh +++ b/build.sh @@ -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}"