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 other/nightly/install.sh

Andras Bacsaid54a47a3a59d
diff --git a/other/nightly/install.sh b/other/nightly/install.sh
index 38be272a5e..2df72ca3d6 100755
--- a/other/nightly/install.sh
+++ b/other/nightly/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