You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2012/06/02 12:45:23 UTC

svn commit: r1345480 - /jackrabbit/trunk/check-release.sh

Author: reschke
Date: Sat Jun  2 10:45:22 2012
New Revision: 1345480

URL: http://svn.apache.org/viewvc?rev=1345480&view=rev
Log:
JCR-3325: fix openssl invocation to pass the filename as parameter instead through stdin (gpg issue remains unpatched)

Modified:
    jackrabbit/trunk/check-release.sh

Modified: jackrabbit/trunk/check-release.sh
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/check-release.sh?rev=1345480&r1=1345479&r2=1345480&view=diff
==============================================================================
--- jackrabbit/trunk/check-release.sh (original)
+++ jackrabbit/trunk/check-release.sh Sat Jun  2 10:45:22 2012
@@ -74,7 +74,7 @@ do
      CHKSUM="----"
    else
      A="`cat $f.$tp 2>/dev/null`"
-     B="`openssl $hash < $f 2>/dev/null | sed 's/.*= *//' `"
+     B="`openssl $hash $f 2>/dev/null | sed 's/.*= *//' `"
      if [ "$A" = "$B" ]; then CHKSUM="GOOD (`cat $f.$tp`)"; else CHKSUM="BAD!! : $A not equal to $B"; fi
    fi
    echo "$tp : ${CHKSUM}"