Fixed GPU output
This commit is contained in:
parent
46caad8a5f
commit
3b58a066c2
2
fetch
2
fetch
|
@ -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//'/ $'}
|
||||||
|
|
Reference in New Issue