kyuubi/build
Cheng Pan 5970af508c
[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>
2024-08-14 17:24:36 +08:00
..
release [KYUUBI #6559] Various improvments for release scripts 2024-07-23 21:15:52 +08:00
dependency.sh [KYUUBI #4191] [Improvement] Skip fetching Maven dependency snapshot update when building dependencyList 2023-01-30 13:47:12 +08:00
dist [KYUUBI #6599] Disable Javadoc/Scaladoc by default 2024-08-09 13:11:50 +08:00
Dockerfile.CI [KYUUBI #6091] Deprecate and remove building support for Spark 3.1 2024-03-04 20:23:06 +08:00
Dockerfile.HMS [KYUUBI #6145] Use HiveMetaStore Docker for testing 2024-03-11 16:03:18 +08:00
kyuubi-build-info [KYUUBI #6588] Get effective USER if env var is unavailable 2024-08-07 17:44:42 +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:24:36 +08:00
util.sh