Fixed GPU output

This commit is contained in:
Dylan 2016-02-23 09:42:48 +11:00
parent 46caad8a5f
commit 3b58a066c2

2
fetch
View file

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