X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/7de09d9fc7ddbe33c1ba45500f921c17cbb403c8..9406c22d17db267186a80dc266125abbd8fa965f:/build-package.sh diff --git a/build-package.sh b/build-package.sh index fd378ac0..d12ec5ac 100755 --- a/build-package.sh +++ b/build-package.sh @@ -8,6 +8,10 @@ termux_error_exit() { exit 1 } +if [ `uname -o` = Android ]; then + termux_error_exit "On-device builds are not supported - see README.md" +fi + # Utility function to download a resource, optionally checking against a checksum. termux_download() { local URL="$1"