You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2018/11/17 15:14:06 UTC

[incubator-plc4x] branch develop updated: - Removed the MD5 verification as we no longer have MD5 files

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 33b2dd3  - Removed the MD5 verification as we no longer have MD5 files
33b2dd3 is described below

commit 33b2dd33eb62196a516684876ad2200257582f64
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sat Nov 17 16:14:03 2018 +0100

    - Removed the MD5 verification as we no longer have MD5 files
---
 tools/check_sigs.sh | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/tools/check_sigs.sh b/tools/check_sigs.sh
index b74b26d..d385ba3 100755
--- a/tools/check_sigs.sh
+++ b/tools/check_sigs.sh
@@ -42,18 +42,7 @@ function checkFile() {
     FILE="$1"
     echo
     echo "Checking $FILE..."
-    
-    HASH=`md5 -q "${FILE}"`
-    CHECK=`cat "${FILE}.md5"`
 
-    if [ "$HASH" != "$CHECK" ]
-    then
-        echo "${FILE} MD5 incorrect"
-        exit 1;
-    else
-       echo "${FILE} MD5 OK";
-    fi
-    
     HASH=`shasum -p -a 512 "${FILE}" | awk '{print$1}'`
     CHECK=`cat "${FILE}.sha512"`