summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-09-21 11:43:38 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-09-21 11:43:38 (EDT)
commit31a74b8f5545b1a5b702581d85e9f38333995e5f (patch)
tree3196c9df7acc69b02be9d2941fe7357f618ee304 /src
parentbfebfc642be2e8ab778fa9c99b124b9d272e42fb (diff)
opkbuild: Simplify OPK_PACKAGES assignment
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild.sh12
1 files changed, 6 insertions, 6 deletions
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 /')"