gosu / releasy

A rake task generator to help with building/packaging/deploying Ruby applications (⚠️ unmaintained)
https://spooner.github.com/libraries/releasy/
MIT License
378 stars 29 forks source link

Fallback to built-in 7z does not work #31

Closed jlnr closed 12 years ago

jlnr commented 12 years ago

command_available? is broken because backticks will return stdout as a string value, not true/false unlike system().

https://github.com/Spooner/releasy/blob/master/lib/releasy/mixins/utilities.rb#L24

This leads to a false positive in checking for 7z and prevents the fallback to releasy's built-in 7z binary.

bil-bas commented 12 years ago

Fixed.