From: Ethan Mallove (Ethan.Mallove_at_[hidden])
Date: 2006-07-10 15:55:58


I'm not sure sha1sum is installed by default on x64 Solaris systems. I don't see it on any of our
x64 Solaris lab machines. (Not sure how this wasn't a problem until now.) Until we figure out how to
do SHA1 checksums on x64 Solaris, my workaround is to simply change Abort to Debug when the sha1sum
checksum comparison fails:

Index: lib/MTT/MPI/Get/OMPI_Snapshot.pm
===================================================================
--- lib/MTT/MPI/Get/OMPI_Snapshot.pm (revision 191)
+++ lib/MTT/MPI/Get/OMPI_Snapshot.pm (working copy)
@@ -128,7 +128,7 @@
     my $sha1_file = `grep $ret->{version}.tar.gz $sha1_checksums | cut -d\\ -f1`;
     chomp($sha1_file);
     my $sha1_actual = MTT::Files::sha1sum("$tarball_dir/$tarball_name");
- Abort("sha1sum from checksum file does not match actual ($sha1_file != $sha1_actual)")
+ Debug("sha1sum from checksum file does not match actual ($sha1_file != $sha1_actual)")
         if ($sha1_file ne $sha1_actual);
     Debug(">> Good sha1sum\n");

-Ethan