Browse Source
In the absense of shasum(1) (which on FreeBSD is provided by Perl, from ports) nvm falls back to sha1sum(1) which does not exist on FreeBSD. But FreeBSD does have sha1(1) so look for sha1(1) and use it if present. As part of this change, refactor the execution of the checksum program down into nvm_checksum and also clean up some special-casing of empty dist checksums, which is already handled by nvm_checksum.master
![frase@frase.id.au](/assets/img/avatar_default.png)
1 changed files with 11 additions and 8 deletions
Loading…
Reference in new issue