Closed jlnr closed 12 years ago
command_available? is broken because backticks will return stdout as a string value, not true/false unlike system().
command_available?
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.
Fixed.
command_available?
is broken because backticks will return stdout as a string value, not true/false unlikesystem().
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.