mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-08-28 05:46:20 +00:00
fix var expansion
This commit is contained in:
parent
1c259e8b10
commit
3232781a6d
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ function fuRESTORE () {
|
||||||
# Backup file (.env) contains a record of the TPOT_VERSION that is used in docker-compose commmands.
|
# 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.
|
# We should upgrade the version in this file after restoring the backup.
|
||||||
newVERSION=$(cat version)
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
################
|
################
|
||||||
|
|
Loading…
Reference in a new issue