diff --git a/build-package.sh b/build-package.sh index 2b4561c8f..4a2918db3 100755 --- a/build-package.sh +++ b/build-package.sh @@ -680,7 +680,7 @@ termux_setup_golang () { source $TERMUX_PKG_BUILDER_SCRIPT -if [ "$TERMUX_PKG_BLACKLISTED_ARCHES" != "${TERMUX_PKG_BLACKLISTED_ARCHES/$TERMUX_ARCH/}" ]; then +if [ -n "${TERMUX_PKG_BLACKLISTED_ARCHES:=""}" -a "$TERMUX_PKG_BLACKLISTED_ARCHES" != "${TERMUX_PKG_BLACKLISTED_ARCHES/$TERMUX_ARCH/}" ]; then echo "Skipping building $TERMUX_PKG_NAME for arch $TERMUX_ARCH" exit 0 fi