bsd fixes

This commit is contained in:
inxi-svn 2014-05-01 22:53:56 +00:00
parent a82db68330
commit 68eeb6a28c

2
inxi
View file

@ -3871,7 +3871,7 @@ get_cpu_data_bsd()
local gawk_fs=': '
# note, in darwin, they switch fs from = to : ... sigh
if [[ $BSD_VERSION == 'openbsd' || $BSD_VERSION == 'darwin-bsd' ]];then
if [[ $BSD_VERSION == 'openbsd' || $BSD_TYPE == 'darwin-bsd' ]];then
gawk_fs='='
fi
# avoid setting this for systems where you have no read/execute permissions