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
1 changed files with 1 additions and 1 deletions

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