clbr / radeontop

GNU General Public License v3.0
789 stars 69 forks source link

getver.sh: Only use git if its a git repo. #80

Closed orbea closed 5 years ago

orbea commented 5 years ago

This will be helpful for people building from release tarballs where git may be in the user's $PATH, but it might not actually be inside a git directory. Instead of printing a git error it will just use ver=unknown.