Fixed GPU output

This commit is contained in:
Dylan 2016-02-23 09:42:48 +11:00
parent 46caad8a5f
commit 3b58a066c2
1 changed files with 1 additions and 1 deletions

2
fetch
View File

@ -922,7 +922,7 @@ getgpu () {
"Mac OS X") "Mac OS X")
gpu=$( \ gpu=$( \
system_profiler SPDisplaysDataType | \ system_profiler SPDisplaysDataType | \
awk -F':' '/^\ *Chipset Model:/ {printf $2 ","}' | \ awk -F': ' '/^\ *Chipset Model:/ {printf $2 ", "}' | \
awk '{ printf "%s ", $0 }' awk '{ printf "%s ", $0 }'
) )
gpu=${gpu//'/ $'} gpu=${gpu//'/ $'}