kyuubi/build
Cheng Pan 3bf6483a0a
[KYUUBI #6606][FOLLOWUP] Restore shell compatibility for build/mvn
# 🔍 Description

I found the [previous change](https://github.com/apache/kyuubi/pull/6606) breaks compatibility in some shell interpreters, for example `[ ! -f "$MVN_BIN" ]`, `[ $MVN_DETECTED_VERSION != $MVN_VERSION ]` are not supported in ubuntu dash, which fails the CI https://github.com/apache/kyuubi/actions/runs/10347069575/job/28636666290

## Types of changes 🔖

- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

This change should recover the CI.

---

# Checklist 📝

- [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #6610 from pan3793/mvn-followup.

Closes #6606

5381b60ac [Cheng Pan] 1

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
(cherry picked from commit 5970af508c)
Signed-off-by: Cheng Pan <chengpan@apache.org>
2024-08-14 17:25:12 +08:00
..
release [KYUUBI #6193] [INFRA] Add known_transkations 2024-03-18 21:54:22 +08:00
dependency.sh
dist [KYUUBI #5561][FOLLOWUP] Rename folder to db-scripts 2023-11-01 16:23:29 +08:00
Dockerfile
kyuubi-build-info [KYUUBI #6588] Get effective USER if env var is unavailable 2024-08-07 17:45:06 +08:00
kyuubi-build-info.cmd [KYUUBI #4187][FOLLOWUP] Windows build-info script supports revision time 2023-07-10 12:27:22 +08:00
mvn [KYUUBI #6606][FOLLOWUP] Restore shell compatibility for build/mvn 2024-08-14 17:25:12 +08:00
util.sh