From b2a4f93bb8491824541eb663b867834e875f33f7 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 09 Oct 2012 21:10:54 -0400 Subject: Generate control files only for built packages. --- (limited to 'src') diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh index b181fe1..2c878e2 100644 --- a/src/ob-gencontrol.sh +++ b/src/ob-gencontrol.sh @@ -37,7 +37,7 @@ main() "${OPK_SOURCE} source package" 'false' gen_md5sums "src-${OPK_SOURCE}" else - for pkg in $(ob_get_binary_packages); do + for pkg in ${OPK_PACKAGES}; do arch="$(ob_get_binary_parameter "${pkg}" 'Architecture')" [ "${arch}" != 'all' ] && arch="${OPK_HOST_ARCH}" gen_control "${pkg}" "${OPK_BINARY_VERSION}" "${arch}" \ -- cgit v0.9.1