From a40f4b644e3f53946785a73a4e72e1feb6b71cca Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 30 Jan 2016 14:37:50 +1100 Subject: [PATCH] Fix double space in linux cpu name --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index 36c98484..d97a1fe7 100755 --- a/fetch +++ b/fetch @@ -713,7 +713,7 @@ getcpu () { cpu="$(grep -F 'model name' /proc/cpuinfo)" cpu=${cpu/model name*: } cpu=${cpu%% *} - cpu=${cpu/@*} + cpu=${cpu/ @*} # Get cpu speed if [ -d "/sys/devices/system/cpu/cpu0/cpufreq" ]; then