[123849] contrib/cpan2port/cpan2port
mojca at macports.org
mojca at macports.org
Fri Aug 15 01:35:08 PDT 2014
Revision: 123849
https://trac.macports.org/changeset/123849
Author: mojca at macports.org
Date: 2014-08-15 01:35:08 -0700 (Fri, 15 Aug 2014)
Log Message:
-----------
cpan2port: sort checksum names to get rmd160 before sha256 (quick hack)
Modified Paths:
--------------
contrib/cpan2port/cpan2port
Modified: contrib/cpan2port/cpan2port
===================================================================
--- contrib/cpan2port/cpan2port 2014-08-15 08:19:52 UTC (rev 123848)
+++ contrib/cpan2port/cpan2port 2014-08-15 08:35:08 UTC (rev 123849)
@@ -225,7 +225,7 @@
if ( exists $$info{depends} ) {
if ( my $check = $$info{checksums} ) {
my @hashes;
- foreach my $key (keys %{ $check }) { push @hashes, "$key ".$$check{$key}; }
+ foreach my $key (sort(keys %{ $check })) { push @hashes, "$key ".$$check{$key}; }
$checksums = 'checksums '.join(" \\\n".(' 'x20), at hashes);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140815/4bd52327/attachment.html>
More information about the macports-changes
mailing list