incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r800689 - /sling/trunk/check_staged_release.sh
Date Tue, 04 Aug 2009 07:31:03 GMT
Author: bdelacretaz
Date: Tue Aug  4 07:31:02 2009
New Revision: 800689

URL: http://svn.apache.org/viewvc?rev=800689&view=rev
Log:
display digests in output, to include them in votes

Modified:
    sling/trunk/check_staged_release.sh

Modified: sling/trunk/check_staged_release.sh
URL: http://svn.apache.org/viewvc/sling/trunk/check_staged_release.sh?rev=800689&r1=800688&r2=800689&view=diff
==============================================================================
--- sling/trunk/check_staged_release.sh (original)
+++ sling/trunk/check_staged_release.sh Tue Aug  4 07:31:02 2009
@@ -45,10 +45,10 @@
  if [ "$?" = "0" ]; then CHKSUM="GOOD"; else CHKSUM="BAD!!!!!!!!"; fi
  if [ ! -f "$f.asc" ]; then CHKSUM="----"; fi
  echo "gpg:  ${CHKSUM}"
- if [ "`cat $f.md5 2>/dev/null`" = "`openssl md5 < $f 2>/dev/null`" ]; then CHKSUM="GOOD";
else CHKSUM="BAD!!!!!!!!"; fi
+ if [ "`cat $f.md5 2>/dev/null`" = "`openssl md5 < $f 2>/dev/null`" ]; then CHKSUM="GOOD
(`cat $f.md5`)"; else CHKSUM="BAD!!!!!!!!"; fi
  if [ ! -f "$f.md5" ]; then CHKSUM="----"; fi
  echo "md5:  ${CHKSUM}"
- if [ "`cat $f.sha1 2>/dev/null`" = "`openssl sha1 < $f 2>/dev/null`" ]; then CHKSUM="GOOD";
else CHKSUM="BAD!!!!!!!!"; fi
+ if [ "`cat $f.sha1 2>/dev/null`" = "`openssl sha1 < $f 2>/dev/null`" ]; then CHKSUM="GOOD
(`cat $f.sha1`)"; else CHKSUM="BAD!!!!!!!!"; fi
  if [ ! -f "$f.sha1" ]; then CHKSUM="----"; fi
  echo "sha1: ${CHKSUM}"
 done



Mime
View raw message