Fix use of unbound variable

This commit is contained in:
Fredrik Fornwall 2016-08-02 07:50:02 -04:00
parent 5a15b12e4b
commit b0c4601465

View File

@ -680,7 +680,7 @@ termux_setup_golang () {
source $TERMUX_PKG_BUILDER_SCRIPT 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" echo "Skipping building $TERMUX_PKG_NAME for arch $TERMUX_ARCH"
exit 0 exit 0
fi fi