PHOENIX-4542 Use .sha256 and .sha512

Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/76df368f
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/76df368f
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/76df368f

Branch: refs/heads/4.x-cdh5.11.2
Commit: 76df368fa64be922faaa8731127e5332e0bdd527
Parents: 80f195f
Author: Josh Elser <els...@apache.org>
Authored: Fri Jan 19 16:36:43 2018 +0000
Committer: Pedro Boado <pbo...@apache.org>
Committed: Wed Jan 31 22:24:49 2018 +0000

----------------------------------------------------------------------
 dev/make_rc.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/76df368f/dev/make_rc.sh
----------------------------------------------------------------------
diff --git a/dev/make_rc.sh b/dev/make_rc.sh
index 687b23d..8b6063f 100755
--- a/dev/make_rc.sh
+++ b/dev/make_rc.sh
@@ -119,14 +119,14 @@ function_sign() {
   if [[ "$OSTYPE" == "darwin"* ]]; then
     gpg2 --armor --output $file.asc --detach-sig $file;
     openssl md5 $file > $file.md5;
-    openssl dgst -sha512 $file > $file.sha;
-    openssl dgst -sha256 $file >> $file.sha;
+    openssl dgst -sha512 $file > $file.sha512;
+    openssl dgst -sha256 $file >> $file.sha256;
   # all other OS
   else
     gpg --armor --output $file.asc --detach-sig $file;
     md5sum -b $file > $file.md5;
-    sha512sum -b $file > $file.sha;
-    sha256sum -b $file >> $file.sha;
+    sha512sum -b $file > $file.sha512;
+    sha256sum -b $file >> $file.sha256;
   fi
 }
 

Reply via email to