style(env): use double quotes consistently in env file output

This commit is contained in:
Yury Kossakovsky
2025-12-30 17:19:05 -07:00
parent 192d457c87
commit 492e9ea194

View File

@@ -253,7 +253,7 @@ _update_or_add_env_var() {
fi
if [[ -n "$var_value" ]]; then
echo "${var_name}='$var_value'" >> "$tmp_env_file"
echo "${var_name}=\"$var_value\"" >> "$tmp_env_file"
fi
mv "$tmp_env_file" "$OUTPUT_FILE"
# trap - EXIT # Remove specific trap for this temp file if desired, or let main script's trap handle it.