From 09f3b9f50002ccdf5720143d496cd3b37290a7d5 Mon Sep 17 00:00:00 2001 From: Tamas Cservenak Date: Wed, 14 Aug 2024 10:42:07 +0200 Subject: [PATCH] [MNG-8165] Get rid of bashism creeped in (#1652) Use of "==" is a bashism. --- https://issues.apache.org/jira/browse/MNG-8165 --- apache-maven/src/assembly/shared/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache-maven/src/assembly/shared/init b/apache-maven/src/assembly/shared/init index 5043c905ee..2af4b989cd 100755 --- a/apache-maven/src/assembly/shared/init +++ b/apache-maven/src/assembly/shared/init @@ -40,7 +40,7 @@ find_maven_basedir() { basedir=$wdir break fi - if [ "$wdir" == '/' ] ; then + if [ "$wdir" = '/' ] ; then break fi wdir=`cd "$wdir/.."; pwd`