build-package.sh: handle disable packages when building for all architectures

This commit is contained in:
Leonid Pliushch 2019-05-22 15:01:27 +03:00
parent 1dabdf4942
commit b5e34cb1b9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ termux_step_handle_arguments() {
if [ -n "${TERMUX_ARCH+x}" ] && [ "${TERMUX_ARCH}" = 'all' ]; then
for arch in 'aarch64' 'arm' 'i686' 'x86_64'; do
TERMUX_BUILD_IGNORE_LOCK=true ./build-package.sh ${TERMUX_FORCE_BUILD+-f} \
-a $arch ${TERMUX_INSTALL_DEPS+-i} ${TERMUX_DEBUG+-d} \
-a $arch ${TERMUX_INSTALL_DEPS+-i} ${TERMUX_IS_DISABLED+-D} ${TERMUX_DEBUG+-d} \
${TERMUX_DEBDIR+-o $TERMUX_DEBDIR} "$1"
done
exit