diff --git a/setup/init_config.sh b/setup/init_config.sh index 80a4bc5b0..54d1d00d4 100755 --- a/setup/init_config.sh +++ b/setup/init_config.sh @@ -193,14 +193,8 @@ Generate_Config_Docker(){ } Generate_Config_Native(){ # Load environment variables from .env file - if [ -f .env ]; then - export $(grep -v '^#' .env | xargs) - Show 2 "Environment variables loaded:" - printenv | sort - else - Show 1 ".env file not found!" - exit 1 - fi + Show 2 "Environment variables loaded:" + printenv | sort ADDONS=${1:-} REPO_NAME=$(basename "$(git rev-parse --show-toplevel)" | sed -E 's/[.-]/_/g') USER="${REPO_NAME:-"default_repo"}"