taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
782 stars 66 forks source link

fix Gentoo detection #55

Closed schnittchen closed 8 years ago

schnittchen commented 8 years ago

I got

bash: line 48: ((: > 0 : syntax error: operand expected (error token is "> 0 ")

Simplified the check, I believe the others could be simplified as well (grep exit status should be 0 iff something was found).