summaryrefslogtreecommitdiffstats
path: root/bin/macros
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2011-08-16 17:31:43 +0200
committerJustin Davis <jrcd83@gmail.com>2011-08-16 17:31:43 +0200
commitd6c783b734e2b4520dd75682ff5bd51c390c546d (patch)
tree08e55f54cda81024f40a2e674448996a11154ac4 /bin/macros
parent2d08e5407ccffc0d6018bfbc4d4d222c01d43094 (diff)
downloadgenpkg-d6c783b734e2b4520dd75682ff5bd51c390c546d.tar.gz
genpkg-d6c783b734e2b4520dd75682ff5bd51c390c546d.tar.xz
Fix typo where I forgot to specify 512 for SHA checksums.
Diffstat (limited to 'bin/macros')
-rwxr-xr-xbin/macros/perl-dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/macros/perl-dist b/bin/macros/perl-dist
index 45b4c30..c822093 100755
--- a/bin/macros/perl-dist
+++ b/bin/macros/perl-dist
@@ -547,7 +547,7 @@ sub md5sums
sub sha512sums
{
return [ map {
- my $sha = Digest::SHA->new()->addfile($_)->hexdigest;
+ my $sha = Digest::SHA->new(512)->addfile($_)->hexdigest;
} @_ ]
}