build-package.sh: handle disable packages when building for all architectures
This commit is contained in:
parent
1dabdf4942
commit
b5e34cb1b9
@ -37,7 +37,7 @@ termux_step_handle_arguments() {
|
|||||||
if [ -n "${TERMUX_ARCH+x}" ] && [ "${TERMUX_ARCH}" = 'all' ]; then
|
if [ -n "${TERMUX_ARCH+x}" ] && [ "${TERMUX_ARCH}" = 'all' ]; then
|
||||||
for arch in 'aarch64' 'arm' 'i686' 'x86_64'; do
|
for arch in 'aarch64' 'arm' 'i686' 'x86_64'; do
|
||||||
TERMUX_BUILD_IGNORE_LOCK=true ./build-package.sh ${TERMUX_FORCE_BUILD+-f} \
|
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"
|
${TERMUX_DEBDIR+-o $TERMUX_DEBDIR} "$1"
|
||||||
done
|
done
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user