build-package.sh: fix unbound variable error

This commit is contained in:
Leonid Pliushch 2020-03-23 23:45:11 +02:00
parent 68931b3a4d
commit 64ee31c9dc

View File

@ -268,7 +268,7 @@ shift $((OPTIND-1))
if [ "$#" -lt 1 ]; then _show_usage; fi if [ "$#" -lt 1 ]; then _show_usage; fi
unset -f _show_usage unset -f _show_usage
if [ "$TERMUX_INSTALL_DEPS" = "true" ]; then if [ "${TERMUX_INSTALL_DEPS-false}" = "true" ]; then
# Setup PGP keys for verifying integrity of dependencies. # Setup PGP keys for verifying integrity of dependencies.
# Keys are obtained from our keyring package. # Keys are obtained from our keyring package.
gpg --list-keys 2218893D3F679BEFC421FD976700B77E6D8D0AE7 > /dev/null 2>&1 || { gpg --list-keys 2218893D3F679BEFC421FD976700B77E6D8D0AE7 > /dev/null 2>&1 || {