incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r997821 - /sling/trunk/check_staged_release.sh
Date Thu, 16 Sep 2010 16:19:44 GMT
Author: bdelacretaz
Date: Thu Sep 16 16:19:43 2010
New Revision: 997821

URL: http://svn.apache.org/viewvc?rev=997821&view=rev
Log:
SLING-1780, remove everything before = sign in openssl output

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=997821&r1=997820&r2=997821&view=diff
==============================================================================
--- sling/trunk/check_staged_release.sh (original)
+++ sling/trunk/check_staged_release.sh Thu Sep 16 16:19:43 2010
@@ -49,7 +49,7 @@ do
  for tp in md5 sha1
  do
    A="`cat $f.$tp 2>/dev/null`"
-   B="`openssl $tp < $f 2>/dev/null`"
+   B="`openssl $tp < $f 2>/dev/null | sed 's/.*= *//' `"
    if [ "$A" = "$B" ]; then CHKSUM="GOOD (`cat $f.$tp`)"; else CHKSUM="BAD!! : $A not equal
to $B"; fi
    echo "$tp : ${CHKSUM}"
  done



Mime
View raw message