You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by cd...@apache.org on 2017/12/07 08:56:15 UTC

incubator-edgent git commit: - Renamed the file of the SHA hashes back to sha - Fixed a user output in compare_bundles.sh

Repository: incubator-edgent
Updated Branches:
  refs/heads/develop 1be509f14 -> 05faa3307


- Renamed the file of the SHA hashes back to sha
- Fixed a user output in compare_bundles.sh


Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/05faa330
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/05faa330
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/05faa330

Branch: refs/heads/develop
Commit: 05faa3307bd2d6a9af36fa79e6ca6b05c009dea6
Parents: 1be509f
Author: Christofer Dutz <ch...@c-ware.de>
Authored: Thu Dec 7 09:56:09 2017 +0100
Committer: Christofer Dutz <ch...@c-ware.de>
Committed: Thu Dec 7 09:56:09 2017 +0100

----------------------------------------------------------------------
 buildTools/check_sigs.sh          | 2 +-
 buildTools/compare_bundles.sh     | 2 +-
 buildTools/download_edgent_asf.sh | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/05faa330/buildTools/check_sigs.sh
----------------------------------------------------------------------
diff --git a/buildTools/check_sigs.sh b/buildTools/check_sigs.sh
old mode 100644
new mode 100755
index 0c9f387..9865d4b
--- a/buildTools/check_sigs.sh
+++ b/buildTools/check_sigs.sh
@@ -55,7 +55,7 @@ function checkFile() {
     fi
     
     HASH=`shasum -p -a 512 "${FILE}" | awk '{print$1}'`
-    CHECK=`cat "${FILE}.sha512"`
+    CHECK=`cat "${FILE}.sha"`
 
     if [ "$HASH" != "$CHECK" ]
     then

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/05faa330/buildTools/compare_bundles.sh
----------------------------------------------------------------------
diff --git a/buildTools/compare_bundles.sh b/buildTools/compare_bundles.sh
index 8e2a0c9..b7c114f 100755
--- a/buildTools/compare_bundles.sh
+++ b/buildTools/compare_bundles.sh
@@ -58,7 +58,7 @@ function compareBundles() {
     rmdir ${DIR}
     set -e
     if [ "${EC}" != 0 ] ; then
-        echo "FAILED: bundles have the different contents"
+        echo "FAILED: bundles have different contents"
     fi
     return ${EC}
 }

http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/05faa330/buildTools/download_edgent_asf.sh
----------------------------------------------------------------------
diff --git a/buildTools/download_edgent_asf.sh b/buildTools/download_edgent_asf.sh
index 55d432b..c41e244 100755
--- a/buildTools/download_edgent_asf.sh
+++ b/buildTools/download_edgent_asf.sh
@@ -94,7 +94,7 @@ function getSignedBundle() {
   mywget ${1}
   mywget ${1}.asc
   mywget ${1}.md5
-  mywget ${1}.sha512
+  mywget ${1}.sha
 }
 
 mkdir -p ${DST_BASE_DIR}