Browse Source

07env-install-centos.sh

lizw 2 years ago
parent
commit
3cfb7b9587
1 changed files with 1 additions and 1 deletions
  1. 1 1
      00base/07env-install-centos.sh

+ 1 - 1
00base/07env-install-centos.sh

@@ -409,7 +409,7 @@ function init:gradle() {
   command::exec "${host}" "
   command::exec "${host}" "
     if [ ! -d "$gradle_path" ]; then
     if [ ! -d "$gradle_path" ]; then
       mkdir -p ${BASE_DIR}/gradle
       mkdir -p ${BASE_DIR}/gradle
-      wget --timeout=10 --waitretry=3 --tries=5 --retry-connrefused --no-check-certificate ${GRADLE_URL} -O ${BASE_DIR}/java/${GRADLE_FILE_NAME}
+      wget --timeout=10 --waitretry=3 --tries=5 --retry-connrefused --no-check-certificate ${GRADLE_URL} -O ${BASE_DIR}/gradle/${GRADLE_FILE_NAME}
       cd ${BASE_DIR}/gradle
       cd ${BASE_DIR}/gradle
       unzip ${GRADLE_FILE_NAME}
       unzip ${GRADLE_FILE_NAME}
       echo '$add_profile' >> /etc/profile
       echo '$add_profile' >> /etc/profile