Correct architecture detection on *BSD

FreeBSD uses uname -p, NetBSD also according to https://www.pkgsrc.org/
This commit is contained in:
pkubaj 2022-08-30 00:16:06 +00:00 committed by GitHub
parent ccd5d9f526
commit b883f5b83b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1218,7 +1218,7 @@ get_distro() {
# Get OS architecture. # Get OS architecture.
case $os in case $os in
Solaris|AIX|Haiku|IRIX|FreeMiNT) Solaris|AIX|Haiku|IRIX|FreeMiNT|BSD)
machine_arch=$(uname -p) machine_arch=$(uname -p)
;; ;;