From febeb00e482c388ef6bcf70807e8deef552f1cde Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Wed, 24 Sep 2025 13:14:18 +0200 Subject: [PATCH] Update scripts/install.sh Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 3bbabf648..84ea0834b 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -715,7 +715,7 @@ echo -e "6. Setting up environment variable file" if [ -f $ENV_FILE ]; then # If .env exists, create backup echo " - Creating backup of existing .env file to .env-$DATE" - cp $ENV_FILE $ENV_FILE-$DATE + cp "$ENV_FILE" "$ENV_FILE-$DATE" # Merge .env.production values into .env echo " - Merging .env.production values into .env" awk -F '=' '!seen[$1]++' $ENV_FILE /data/coolify/source/.env.production > $ENV_FILE.tmp && mv $ENV_FILE.tmp $ENV_FILE