Use sw_vers for os_version on macosx (by Jan Hacker)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
561d325f87
commit
162aee1c9e
1 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,10 @@ case "$($__explorer/os)" in
|
||||||
gentoo)
|
gentoo)
|
||||||
cat /etc/gentoo-release
|
cat /etc/gentoo-release
|
||||||
;;
|
;;
|
||||||
macosx|*bsd|solaris)
|
macosx)
|
||||||
|
sw_vers -productVersion
|
||||||
|
;;
|
||||||
|
*bsd|solaris)
|
||||||
uname -r
|
uname -r
|
||||||
;;
|
;;
|
||||||
redhat|centos)
|
redhat|centos)
|
||||||
|
|
Loading…
Reference in a new issue