Distro [IRIX]: use -p for machine_arch

This commit is contained in:
Muhammad Herdiansyah 2017-06-10 13:27:23 +07:00
parent 69b642b759
commit 3b82a89c24

View file

@ -223,7 +223,7 @@ get_distro() {
# Get OS architecture.
if [[ "$os_arch" == "on" ]]; then
case "$os" in
"Solaris" | "AIX" | "BSD" | "Haiku") machine_arch="$(uname -p)" ;;
"Solaris" | "AIX" | "BSD" | "Haiku" | "IRIX") machine_arch="$(uname -p)" ;;
*) machine_arch="$(uname -m)" ;;
esac