Skip to content

Commit

Permalink
Update build/mvnd
Browse files Browse the repository at this point in the history
Co-authored-by: Cheng Pan <pan3793@gmail.com>
  • Loading branch information
bowenliang123 and pan3793 committed Apr 2, 2023
1 parent 10f4a25 commit 87e18d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/mvnd
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function get_os_arch() {
# install mvnd under the build/ folder if needed.
function install_mvnd() {
local MVND_VERSION=$(grep "<mvnd.version>" "${_DIR}/../pom.xml" | head -n1 | awk -F '[<>]' '{print $3}')
local MVND_MVN_SHORT_VERSION=$(grep "<mvnd.maven.short.version>" "${_DIR}/../pom.xml" | head -n1 | awk -F '[<>]' '{print $3}')
local MVND_MVN_SHORT_VERSION=$(echo "$MVN_VERSION" | awk -F . '{print $1$2}')
local MVN_VERSION=$(grep "<maven.version>" "${_DIR}/../pom.xml" | head -n1 | awk -F '[<>]' '{print $3}')
MVND_BIN="$(command -v mvnd)"
if [ "$MVND_BIN" ]; then
Expand Down

0 comments on commit 87e18d7

Please sign in to comment.