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

tzimanyi pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git


The following commit(s) were added to refs/heads/main by this push:
     new 227a0542 kie-issue#675: fix install-maven.sh in maven GHA (#1117)
227a0542 is described below

commit 227a054294ce2c08628634084483b4e0bb0e45ac
Author: Jan Stastny <[email protected]>
AuthorDate: Mon Nov 6 13:29:55 2023 +0100

    kie-issue#675: fix install-maven.sh in maven GHA (#1117)
    
    Co-authored-by: jstastny-cz <[email protected]>
---
 .ci/actions/maven/install-maven.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.ci/actions/maven/install-maven.sh 
b/.ci/actions/maven/install-maven.sh
index 67957fa4..9b94975a 100755
--- a/.ci/actions/maven/install-maven.sh
+++ b/.ci/actions/maven/install-maven.sh
@@ -4,7 +4,7 @@ set -e
 install_path=$1
 maven_version=$2
 
-if [[ -z ${maven_version} ]]; then
+if [ -z "${maven_version}" ]; then
   maven_version=$(curl https://maven.apache.org/download.cgi --silent | grep 
"Downloading Apache Maven " | grep -oE '[0-9].[0-9]+.[0-9]+')
 fi
 maven_file="apache-maven-${maven_version}-bin.tar.gz"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to