fix var expansion

This commit is contained in:
t3chn0m4g3 2025-07-04 17:29:19 +02:00
parent 1c259e8b10
commit 3232781a6d

View file

@ -191,7 +191,7 @@ function fuRESTORE () {
# Backup file (.env) contains a record of the TPOT_VERSION that is used in docker-compose commmands.
# We should upgrade the version in this file after restoring the backup.
newVERSION=$(cat version)
sed -i 's/^TPOT_VERSION=.*/TPOT_VERSION=${newVERSION}/' $HOME/tpotce/.env
sed -i "s/^TPOT_VERSION=.*/TPOT_VERSION=${newVERSION}/" $HOME/tpotce/.env
}
################