Fix stray forward slash in OS X GPU output.
This commit is contained in:
parent
9dcfc7dec0
commit
07084eb657
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -873,7 +873,7 @@ getgpu () {
|
||||||
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//'/ $'}
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue