summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-09-21 12:39:18 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-09-21 12:39:18 (EDT)
commit3c4b8890820d72336309f2a7141a23c791878a2d (patch)
treeb4973bb9bc4f4024a5d2db064a8bb341d2295afa /src
parentda567742a95874c913b3f96045b528ff4b9bc0e6 (diff)
ob-*: Use OPK_PACKAGES_REDUCED
Diffstat (limited to 'src')
-rw-r--r--src/ob-buildopk.sh2
-rw-r--r--src/ob-genchanges.sh2
-rw-r--r--src/ob-gencontrol.sh2
-rw-r--r--src/ob-installdocs.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh
index 5c0ff4b..5190786 100644
--- a/src/ob-buildopk.sh
+++ b/src/ob-buildopk.sh
@@ -36,7 +36,7 @@ main()
if [ -n "${OB_DO_SOURCE}" ]; then
build_opk "src-${OPK_SOURCE}" "${OPK_SOURCE_VERSION}" 'src' 'all'
else
- for pkg in ${OPK_PACKAGES}; do
+ for pkg in ${OPK_PACKAGES_REDUCED}; do
arch="$(ob_get_binary_parameter "${pkg}" 'Architecture')"
[ "${arch}" != 'all' ] && arch="${OPK_HOST_ARCH}"
plat="$(ob_get_binary_parameter "${pkg}" 'Platform')"
diff --git a/src/ob-genchanges.sh b/src/ob-genchanges.sh
index 5124bc0..2097204 100644
--- a/src/ob-genchanges.sh
+++ b/src/ob-genchanges.sh
@@ -97,7 +97,7 @@ write_files_src()
write_files_bin()
{
printf 'Files:\n' >&3
- for pkg in ${OPK_PACKAGES}; do
+ for pkg in ${OPK_PACKAGES_REDUCED}; do
arch="$(ob_get_binary_parameter "${pkg}" 'Architecture')"
[ "${arch}" != 'all' ] && arch="${OPK_HOST_ARCH}"
plat="$(ob_get_binary_parameter "${pkg}" 'Platform')"
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh
index a1628e6..f5e777a 100644
--- a/src/ob-gencontrol.sh
+++ b/src/ob-gencontrol.sh
@@ -38,7 +38,7 @@ main()
"${OPK_SOURCE} source package" 'false'
gen_md5sums "src-${OPK_SOURCE}"
else
- for pkg in ${OPK_PACKAGES}; do
+ for pkg in ${OPK_PACKAGES_REDUCED}; do
ob_set_package_substvars "${pkg}"
arch="$(ob_get_binary_parameter "${pkg}" 'Architecture')"
[ "${arch}" != 'all' ] && arch="${OPK_HOST_ARCH}"
diff --git a/src/ob-installdocs.sh b/src/ob-installdocs.sh
index 3732949..25eafde 100644
--- a/src/ob-installdocs.sh
+++ b/src/ob-installdocs.sh
@@ -39,7 +39,7 @@ main()
doc_pkg_doc_dir="$(ob_get_system_path 'package-docs' \
"${doc_pkg}" "${OPK_BINARY_VERSION}")"
- for pkg in ${OPK_PACKAGES}; do
+ for pkg in ${OPK_PACKAGES_REDUCED}; do
doc_dir="$(ob_get_system_path 'package-docs' \
"${pkg}" "${OPK_BINARY_VERSION}")"
data_doc_dir="${pkg}.data/${doc_dir%/}"