Skip to content

Commit

Permalink
build.sh: Allow docker build on non debian systems
Browse files Browse the repository at this point in the history
This fixes jellyfin#3003
  • Loading branch information
Daniel Koschützki committed Sep 25, 2021
1 parent 965a8e2 commit 1b0fee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ do_build_native() {
}

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."
exit 1
fi
Expand Down

0 comments on commit 1b0fee2

Please sign in to comment.