diff --git a/apps/stream-rec-backend/0.7.1/scripts/init.sh b/apps/stream-rec-backend/0.7.1/scripts/init.sh index c86c4fbc..77b84912 100644 --- a/apps/stream-rec-backend/0.7.1/scripts/init.sh +++ b/apps/stream-rec-backend/0.7.1/scripts/init.sh @@ -3,6 +3,11 @@ if [ -f .env ]; then source .env + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "Check Finish." else diff --git a/apps/stream-rec-backend/0.7.1/scripts/upgrade.sh b/apps/stream-rec-backend/0.7.1/scripts/upgrade.sh index c86c4fbc..77b84912 100644 --- a/apps/stream-rec-backend/0.7.1/scripts/upgrade.sh +++ b/apps/stream-rec-backend/0.7.1/scripts/upgrade.sh @@ -3,6 +3,11 @@ if [ -f .env ]; then source .env + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "Check Finish." else diff --git a/apps/stream-rec-frontend/0.7.1/scripts/init.sh b/apps/stream-rec-frontend/0.7.1/scripts/init.sh index c86c4fbc..77b84912 100644 --- a/apps/stream-rec-frontend/0.7.1/scripts/init.sh +++ b/apps/stream-rec-frontend/0.7.1/scripts/init.sh @@ -3,6 +3,11 @@ if [ -f .env ]; then source .env + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "Check Finish." else diff --git a/apps/stream-rec-frontend/0.7.1/scripts/upgrade.sh b/apps/stream-rec-frontend/0.7.1/scripts/upgrade.sh index c86c4fbc..77b84912 100644 --- a/apps/stream-rec-frontend/0.7.1/scripts/upgrade.sh +++ b/apps/stream-rec-frontend/0.7.1/scripts/upgrade.sh @@ -3,6 +3,11 @@ if [ -f .env ]; then source .env + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + echo "Check Finish." else