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

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