Commit 97b3d711 authored by 李欣峰's avatar 李欣峰

1.修改配置

parent 48b94e69
Pipeline #35544 passed with stages
in 1 minute and 51 seconds
......@@ -33,13 +33,13 @@ NOHUPLOG=/dev/null
#NOHUPLOG=nohup.out
#加载系统配置参数到环境变量
ENV_FILE=$APP_HOME/.env
BACKUP_ENV=$APP_HOME/.env_bak
#ENV_FILE=$APP_HOME/.env
#BACKUP_ENV=$APP_HOME/.env_bak
##保存环境变量
env|grep "`cat $ENV_FILE|grep "^export.*="|awk -F "export " '{print$2}'|awk -F "=" '{print$1"="}'`">$BACKUP_ENV
sed -i "s|'^(.*)='|'^export $1='|g" $BACKUP_ENV
#env|grep "`cat $ENV_FILE|grep "^export.*="|awk -F "export " '{print$2}'|awk -F "=" '{print$1"="}'`">$BACKUP_ENV
#sed -i "s|'^(.*)='|'^export $1='|g" $BACKUP_ENV
##加载
source $ENV_FILE
#source $ENV_FILE
#-------------------------------------------------------------------------------------------------------------
......
  • SonarQube analysis reported 5 issues

    • 1 major
    • 🔽 4 minor

    Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:

    1. Add a private constructor to hide the implicit public one. 📘
    2. 🔽 Remove this unused import 'org.springframework.context.ApplicationContext'. 📘
    3. 🔽 Remove this unused import 'java.util.Map'. 📘
    4. 🔽 Remove this unused import 'javax.validation.Valid'. 📘
    5. 🔽 Make this member "protected". 📘
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment