update @native
This commit is contained in:
parent
42a686d8c3
commit
7b42b514d0
@ -193,14 +193,8 @@ Generate_Config_Docker(){
|
|||||||
}
|
}
|
||||||
Generate_Config_Native(){
|
Generate_Config_Native(){
|
||||||
# Load environment variables from .env file
|
# Load environment variables from .env file
|
||||||
if [ -f .env ]; then
|
Show 2 "Environment variables loaded:"
|
||||||
export $(grep -v '^#' .env | xargs)
|
printenv | sort
|
||||||
Show 2 "Environment variables loaded:"
|
|
||||||
printenv | sort
|
|
||||||
else
|
|
||||||
Show 1 ".env file not found!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
ADDONS=${1:-}
|
ADDONS=${1:-}
|
||||||
REPO_NAME=$(basename "$(git rev-parse --show-toplevel)" | sed -E 's/[.-]/_/g')
|
REPO_NAME=$(basename "$(git rev-parse --show-toplevel)" | sed -E 's/[.-]/_/g')
|
||||||
USER="${REPO_NAME:-"default_repo"}"
|
USER="${REPO_NAME:-"default_repo"}"
|
||||||
|
Loading…
Reference in New Issue
Block a user