jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1437374 - /jackrabbit/trunk/check-release.sh
Date Wed, 23 Jan 2013 13:15:11 GMT
Author: jukka
Date: Wed Jan 23 13:15:10 2013
New Revision: 1437374

URL: http://svn.apache.org/viewvc?rev=1437374&view=rev
Log:
2.5.3: Try to avoid problems with different eols in checksum and signature files

Modified:
    jackrabbit/trunk/check-release.sh

Modified: jackrabbit/trunk/check-release.sh
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/check-release.sh?rev=1437374&r1=1437373&r2=1437374&view=diff
==============================================================================
--- jackrabbit/trunk/check-release.sh (original)
+++ jackrabbit/trunk/check-release.sh Wed Jan 23 13:15:10 2013
@@ -54,7 +54,7 @@ echo "[INFO] "
 
 downloaded_sha=$(cat `find "$WORKDIR" -type f | grep "jackrabbit-$VERSION-src.zip.sha"`)
 echo "[INFO] Step 1. Check release cheksum"
-if [ "$SHA" = "$downloaded_sha" ]; then
+if [ $SHA = $downloaded_sha ]; then
   echo "[INFO] Release checksum matches provided checksum."
 else
   echo "[ERROR] Release checksum does not match provided checksum!"
@@ -87,7 +87,7 @@ do
     else
       A="`cat "$f.$tp" 2>/dev/null`"
       B="`openssl "$hash" "$f" 2>/dev/null | sed 's/.*= *//' `"
-      if [ "$A" = "$B" ]; then
+      if [ $A = $B ]; then
         echo "[INFO] $n.$tp is OK"
       else
         echo "[ERROR] $n.$tp is NOT OK"
@@ -143,4 +143,4 @@ echo "[INFO] "
 echo "[INFO] ------------------------------------------------------------------------"
 echo "[INFO] ALL CHECKS OK                                                           "
 echo "[INFO] ------------------------------------------------------------------------"
-exit 0
\ No newline at end of file
+exit 0



Mime
View raw message