From 904290c8a0f7f0f2e4896d3c38978ef3a64a1c5f Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 9 Apr 2014 00:26:12 +0000 Subject: [PATCH] bug fix, forgot a $ sign --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index f4b9ea9..49dd21a 100755 --- a/inxi +++ b/inxi @@ -3780,8 +3780,7 @@ get_cpu_data() printf("%s %s\n", max, "Mhz") } } - } - ' $FILE_CPUINFO ) ) + } ' $FILE_CPUINFO ) ) IFS="$ORIGINAL_IFS" log_function_data 'cat' "$FILE_CPUINFO" elif [[ -n $BSD_TYPE ]];then @@ -9185,8 +9184,9 @@ print_short_data() local cpu_model="${a_cpu_working[0]}" ## assemble data for output local cpu_clock="${a_cpu_working[1]}" # old CPU3 + echo $cpu_clock if [[ -z ${a_cpu_working[1]} || ${a_cpu_working[1]} < 50 ]];then - $a_cpu_working[1]=$(get_cpu_speed_hack) + a_cpu_working[1]=$(get_cpu_speed_hack) fi # this gets that weird min/max final array item, which almost never contains any data of use local min_max_clock_nu=$(( ${#A_CPU_DATA[@]} - 1 ))