Merge pull request #3004 from 4censord/buildscript-allow-docker-on-non-debian

build.sh: Allow docker build on non debian systems
This commit is contained in:
Bill Thornton 2021-09-27 11:46:21 -04:00 committed by GitHub
commit 16346f3f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ do_build_native() {
} }
do_build_docker() { do_build_docker() {
if ! dpkg --print-architecture | grep -q 'amd64'; then if ! [ $(uname -m) = "x86_64" ]; then
echo "Docker-based builds only support amd64-based cross-building; use a 'native' build instead." echo "Docker-based builds only support amd64-based cross-building; use a 'native' build instead."
exit 1 exit 1
fi fi