Fix building with "all" architecture (#2465)

This commit is contained in:
monoidic 2018-05-29 12:04:34 +03:00 committed by Fredrik Fornwall
parent c88826236f
commit a94a538588
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ done
shift $((OPTIND-1))
if [ "$#" -ne 0 ]; then _show_usage; fi
if [[ ! "$TERMUX_ARCH" =~ ^(aarch64|arm|i686|x86_64)$ ]]; then
if [[ ! "$TERMUX_ARCH" =~ ^(all|aarch64|arm|i686|x86_64)$ ]]; then
echo "ERROR: Invalid arch '$TERMUX_ARCH'" 1>&2
exit 1
fi