distro: [haiku] Use read instead of awk

This commit is contained in:
Dylan Araps 2018-06-03 12:58:44 +10:00
parent 320ad76b21
commit e12927aa17

View file

@ -977,7 +977,8 @@ get_distro() {
;; ;;
"Haiku") "Haiku")
distro="$(uname -sv | awk '{print $1 " " $2}')" read -r name version _ < <(uname -sv)
distro="$name $version"
;; ;;
"AIX") "AIX")