forked from the-distro/channel-scripts
Merge pull request #24 from samueldr/fix/wrong-hash-format
mirror: sets hash format to base16
This commit is contained in:
commit
3e89acae6a
|
@ -115,7 +115,7 @@ if ($bucket->head_key("$releasePrefix")) {
|
|||
}
|
||||
|
||||
if (-e "$dstFile.sha256") {
|
||||
my $sha256_actual = `nix hash-file --type sha256 '$dstFile'`;
|
||||
my $sha256_actual = `nix hash-file --base16 --type sha256 '$dstFile'`;
|
||||
chomp $sha256_actual;
|
||||
if ($sha256_expected ne $sha256_actual) {
|
||||
print STDERR "file $dstFile is corrupt $sha256_expected $sha256_actual\n";
|
||||
|
|
Loading…
Reference in a new issue