build.sh: GLUON_TARGETS without if
This commit is contained in:
parent
3392ddffb3
commit
485d4b9440
4
build.sh
4
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}"
|
||||
|
|
Loading…
Reference in New Issue