Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Update scripts/install.sh

Andras Bacsaifebeb00e482c
diff --git a/scripts/install.sh b/scripts/install.sh
index 3bbabf648b..84ea0834b1 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