Fix iphone model appearing in distro output

This commit is contained in:
Dylan 2016-05-08 10:06:49 +10:00
parent 38f9ebcb4c
commit 2fd316eb9c
1 changed files with 2 additions and 1 deletions

View File

@ -501,7 +501,8 @@ getdistro () {
;; ;;
"iPhone OS") "iPhone OS")
distro="iOS $(sw_vers -productVersion)" ios_version="$(sw_vers -productVersion)"
distro="iOS ${ios_version/ *}"
;; ;;
"OpenBSD") "OpenBSD")