Distro [BSD]: Use -m instead of -p

This commit is contained in:
Muhammad Herdiansyah 2017-07-16 16:46:12 +07:00
parent 75b347b7d8
commit e305140e8d

View file

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