Author: mbrohl
Date: Wed Jan 3 12:48:18 2018
New Revision: 1819961
URL:
http://svn.apache.org/viewvc?rev=1819961&view=revLog:
Change SHA file extension from .sha to -sha512
Modified:
ofbiz/tools/verify-ofbiz-release.sh
Modified: ofbiz/tools/verify-ofbiz-release.sh
URL:
http://svn.apache.org/viewvc/ofbiz/tools/verify-ofbiz-release.sh?rev=1819961&r1=1819960&r2=1819961&view=diff==============================================================================
--- ofbiz/tools/verify-ofbiz-release.sh (original)
+++ ofbiz/tools/verify-ofbiz-release.sh Wed Jan 3 12:48:18 2018
@@ -37,10 +37,10 @@ checkMD5() {
checkSHA () {
file1=`gpg --print-md SHA512 $1`
- file2=`cut -d* -f1 $1.sha`
+ file2=`cut -d* -f1 $1.sha512`
echo "sha check of file: $1"
- echo "Using sha file: $1.sha"
+ echo "Using sha file: $1.sha512"
echo $file1
echo $file2
@@ -63,9 +63,9 @@ else
checkMD5 $1
fi
-if [ ! -f $1.sha ];
+if [ ! -f $1.sha512 ];
then
- echo -e "${RED}skipping sha check!${NC} (sha checksum file $1.sha not found)\n"
+ echo -e "${RED}skipping sha check!${NC} (sha checksum file $1.sha512 not found)\n"
else
checkSHA $1
fi