update @native
This commit is contained in:
parent
42a686d8c3
commit
7b42b514d0
@ -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"}"
|
||||
|
Loading…
Reference in New Issue
Block a user