Add " in .env

This commit is contained in:
Alexandre
2023-07-04 11:46:46 +02:00
committed by GitHub
parent b7c4ee0585
commit 5bf598d311

View File

@@ -42,7 +42,7 @@ for KEYS in "${arr[@]}"; do
######################################
export "${KEYS}='${VALUE}'"
# set .env
echo "$KEYS=$VALUE" >> /.env || true
echo "$KEYS=\"$VALUE\"" >> /.env || true
# set /etc/environmemt
mkdir -p /etc
echo "$KEYS=$VALUE" >> /etc/environmemt