diff --git a/apps/glance/0.7.2/scripts/init.sh b/apps/glance/0.7.2/scripts/init.sh index 2195dc92..ecfa16a4 100644 --- a/apps/glance/0.7.2/scripts/init.sh +++ b/apps/glance/0.7.2/scripts/init.sh @@ -10,10 +10,10 @@ if [ -f .env ]; then echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env - mkdir -p "$APP_NAME_ROOT_PATH" - mkdir -p "$APP_NAME_ROOT_PATH/app" + mkdir -p "$GLANCE_ROOT_PATH" + mkdir -p "$GLANCE_ROOT_PATH/app" - cp ./conf/glance.yml "$APP_NAME_ROOT_PATH/app/glance.yml" + cp ./conf/glance.yml "$GLANCE_ROOT_PATH/app/glance.yml" echo "Check Finish." diff --git a/apps/glance/0.7.2/scripts/upgrade.sh b/apps/glance/0.7.2/scripts/upgrade.sh index 0be9bfe0..fda819a4 100644 --- a/apps/glance/0.7.2/scripts/upgrade.sh +++ b/apps/glance/0.7.2/scripts/upgrade.sh @@ -10,11 +10,11 @@ if [ -f .env ]; then echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env - mkdir -p "$APP_NAME_ROOT_PATH" - mkdir -p "$APP_NAME_ROOT_PATH/app" + mkdir -p "$GLANCE_ROOT_PATH" + mkdir -p "$GLANCE_ROOT_PATH/app" - if [ ! -f "$APP_NAME_ROOT_PATH/app/glance.yml" ]; then - cp ./conf/glance.yml "$APP_NAME_ROOT_PATH/app/glance.yml" + if [ ! -f "$GLANCE_ROOT_PATH/app/glance.yml" ]; then + cp ./conf/glance.yml "$GLANCE_ROOT_PATH/app/glance.yml" fi echo "Check Finish."