HSAFoundation / HSA-Drivers-Linux-AMD

These drivers have been superseded by ROCm Platform now hosted at Radeon Open Compute GitHub Repo
https://github.com/RadeonOpenCompute
Other
61 stars 15 forks source link

Switch from backticks to $(), use grep -c flag instead of piping into wc -l #3

Closed ivuk closed 9 years ago

ivuk commented 10 years ago

Since the #! explicitly declares /bin/bash, switch to $() instead of backticks (). Since [[ is also used, I'm guessing this should be acceptable. :)

Also, switch to using 'grep -c' instead of 'grep 'TEXT' file | wc -l'.

ogabbay commented 9 years ago

Done, thanks