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:
Nico Schottelius 2011-05-03 10:23:32 +02:00
parent 561d325f87
commit 162aee1c9e

View file

@ -36,7 +36,10 @@ case "$($__explorer/os)" in
gentoo)
cat /etc/gentoo-release
;;
macosx|*bsd|solaris)
macosx)
sw_vers -productVersion
;;
*bsd|solaris)
uname -r
;;
redhat|centos)