[ofbiz-tools] branch master updated: Fixed: check for remaining release parameter was wrong

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-tools] branch master updated: Fixed: check for remaining release parameter was wrong

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

mbrohl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new 5f4fc5a  Fixed: check for remaining release parameter was wrong
     new 73bbd8a  Merge branch 'master' of https://gitbox.apache.org/repos/asf/ofbiz-tools
5f4fc5a is described below

commit 5f4fc5a3ef67b5a4d067033ed5fd653022402c8c
Author: Michael Brohl <[hidden email]>
AuthorDate: Mon Mar 15 18:50:36 2021 +0100

    Fixed: check for remaining release parameter was wrong
---
 verify-ofbiz-release.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/verify-ofbiz-release.sh b/verify-ofbiz-release.sh
index 80bf20d..52e90d0 100755
--- a/verify-ofbiz-release.sh
+++ b/verify-ofbiz-release.sh
@@ -94,7 +94,7 @@ done
 shift $(( OPTIND - 1 ))
 
 # no remaining argument with the release name - print help and exit
-if [[ $1 -eq 0 ]] ; then
+if [ -z "$1" ] ; then
     printHelp
     exit 1
 fi
@@ -122,6 +122,7 @@ downloadFiles () {
     wget $URL/$ZIP.sha512
 
     echo 'Done!'
+    echo " "
 }
 
 verifyFiles () {
@@ -141,6 +142,8 @@ verifyFiles () {
         echo "GPG verification output"
         LC_MESSAGES=en_EN.UTF-8 gpg --verify $ZIP.asc $ZIP
     fi
+
+    echo " "
 }
 
 checkSHA () {