mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 02:48:17 +08:00
一键安装maven环境
This commit is contained in:
parent
c2adaed2c2
commit
e311ace6e5
@ -13,7 +13,7 @@ TYPE="$1"
|
||||
module="$2"
|
||||
|
||||
# 判断是否包含jdk
|
||||
installJdk = "jdk"
|
||||
installJd="jdk"
|
||||
|
||||
if [[ $module = *$installJdk* ]]; then
|
||||
if [[ ! -x "${JAVA_HOME}/bin/java" ]]; then
|
||||
@ -49,7 +49,7 @@ if [[ $module = *$installJdk* ]]; then
|
||||
fi
|
||||
|
||||
# 判断是否包含mvn
|
||||
installMvn = "mvn"
|
||||
installMvn="mvn"
|
||||
|
||||
if [[ $module = *$installMvn* ]]; then
|
||||
if [[ ! -x "${MAVEN_HOME}/bin/mvn" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user