From b50c4a156ebf21a139ffcc99bdf14f211b637e8d Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 20 Sep 2014 19:47:50 +0000 Subject: [PATCH] new tarball, no version change, fixed openbsd cpu flags --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index fcfd219..08d4b47 100755 --- a/inxi +++ b/inxi @@ -4157,7 +4157,7 @@ get_cpu_flags_bsd() } /^(CPU:|cpu0:)/ { while ( getline && !/memory|real mem/ ) { - if ( $1 ~ /Features/ || ( bsdVersion == "openbsd" && $0 ~ /^cpu0.*,[a-z][a-z][a-z],[a-z][a-z][a-z],/ ) ) { + if ( $1 ~ /Features/ || ( bsdVersion == "openbsd" && $0 ~ /^cpu0.*[[:space:]][a-z][a-z][a-z][[:space:]][a-z][a-z][a-z][[:space:]]/ ) ) { # clean up odd stuff like gsub(/<[a-z0-9]+>/,"", $2) # all the flags are contained within < ... > on freebsd at least @@ -4172,7 +4172,7 @@ get_cpu_flags_bsd() }' <<< "$Dmesg_Boot_Data" ) elif [[ -n $Sysctl_a_Data ]];then if [[ $BSD_VERSION == 'openbsd' ]];then - gawk_fs='=' + gawk_fs=':' fi cpu_flags=$( gawk -F "$gawk_fs" ' BEGIN {