mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
bsd fixes
This commit is contained in:
parent
a82db68330
commit
68eeb6a28c
2
inxi
2
inxi
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue