From 31a74b8f5545b1a5b702581d85e9f38333995e5f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Sep 2014 11:43:38 -0400 Subject: opkbuild: Simplify OPK_PACKAGES assignment --- (limited to 'src') diff --git a/src/opkbuild.sh b/src/opkbuild.sh index 6687c38..395ee61 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -306,12 +306,12 @@ print_arch_stats() setup_build() { - OPK_PACKAGES=" - $(ob_get_binary_packages -a "${OPK_HOST_ARCH}" -P "${OPK_HOST_PLAT}") - $(ob_get_binary_packages -a "${OPK_HOST_ARCH}" -P 'all') - $(ob_get_binary_packages -a 'all' -P "${OPK_HOST_PLAT}") - $(ob_get_binary_packages -a 'all' -P 'all') - " + OPK_PACKAGES="$(\ + ob_get_binary_packages -a "${OPK_HOST_ARCH}" \ + -P "${OPK_HOST_PLAT}"; \ + ob_get_binary_packages -a "${OPK_HOST_ARCH}" -P 'all'; \ + ob_get_binary_packages -a 'all' -P "${OPK_HOST_PLAT}"; \ + ob_get_binary_packages -a 'all' -P 'all')" eval "$('@@BINDIR@@/ob-buildenv' | sed 's/^/export /')" -- cgit v0.9.1