summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 19:28:27 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 19:28:27 (EDT)
commit71223efba8f4e3f50a93ed184648fd3eaedfce0a (patch)
treeb40ca180762304eca1ef5f69c23cb6447426d264 /src
parentd233bfd1a423d7515017ef4bda99ac5501120a43 (diff)
ob_get_binary_packages(): Use -p instead of -P for platform
Diffstat (limited to 'src')
-rw-r--r--src/opkbuild.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 4c96098..7d49214 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -296,26 +296,26 @@ 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')"
+ -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')"
# This is an internal non-SPF variable. The definition of OPK_PACKAGES
# may change in future SPF versions.
# TODO: ???
OPK_PACKAGES_REDUCED="$(\
ob_get_binary_packages -a "${OPK_HOST_ARCH}" \
- -P "${OPK_HOST_PLAT}")"
+ -p "${OPK_HOST_PLAT}")"
if ! ${opt_plat_dep}; then
OPK_PACKAGES_REDUCED="${OPK_PACKAGES_REDUCED} $(\
- ob_get_binary_packages -a "${OPK_HOST_ARCH}" -P 'all')"
+ ob_get_binary_packages -a "${OPK_HOST_ARCH}" -p 'all')"
fi
if ! ${opt_arch_dep}; then
OPK_PACKAGES_REDUCED="${OPK_PACKAGES_REDUCED} $(\
- ob_get_binary_packages -a 'all' -P "${OPK_HOST_PLAT}")"
+ ob_get_binary_packages -a 'all' -p "${OPK_HOST_PLAT}")"
if ! ${opt_plat_dep}; then
OPK_PACKAGES_REDUCED="${OPK_PACKAGES_REDUCED} $(\
- ob_get_binary_packages -a 'all' -P 'all')"
+ ob_get_binary_packages -a 'all' -p 'all')"
fi
fi