
If `shasum` is broken and doesn't produce a valid checksum: we were just doing the checksum comparison with an empty checksum. Instead, let's treat an empty checksum as a failure condition, rather than just the executable bit being present for the relevant binary, and iterate through the available tools to try and get a non-empty checksum. If they all produce an empty checksum: provide a different error to make it a bit more obvious what's happening here.
Library
This directory contains all the code run by the official brew
command in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.