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

cstamas pushed a commit to branch maven-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/maven-3.9.x by this push:
     new 7185b0a168 [MNG-8165] Get rid of bashism creeped in (#1653)
7185b0a168 is described below

commit 7185b0a168894994c3d3873c1a760293b53c549b
Author: Tamas Cservenak <[email protected]>
AuthorDate: Wed Aug 14 10:42:18 2024 +0200

    [MNG-8165] Get rid of bashism creeped in (#1653)
    
    Use of "==" is a bashism.
    
    ---
    
    https://issues.apache.org/jira/browse/MNG-8165
---
 apache-maven/src/bin/mvn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apache-maven/src/bin/mvn b/apache-maven/src/bin/mvn
index 7e1f0abbd8..38b036af1d 100755
--- a/apache-maven/src/bin/mvn
+++ b/apache-maven/src/bin/mvn
@@ -133,7 +133,7 @@ find_maven_basedir() {
       basedir=$wdir
       break
     fi
-    if [ "$wdir" == '/' ] ; then
+    if [ "$wdir" = '/' ] ; then
       break
     fi
     wdir=`cd "$wdir/.."; pwd`

Reply via email to