File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1+ ## 4.0.10 2023-11-11 <dave at tiredofit dot ca >
2+
3+ ### Changed
4+ - Change environment variable parsing routines to properly accomodate for Passwords containing '=='
5+
6+
17## 4.0.9 2023-11-11 <dave at tiredofit dot ca >
28
39 ### Changed
Original file line number Diff line number Diff line change @@ -160,16 +160,16 @@ bootstrap_variables() {
160160
161161 transform_backup_instance_variable() {
162162 if grep -q "^DB${1}_${2}=" "${backup_instance_vars}" && [ "$(grep "^DB${1}_${2}=" "${backup_instance_vars}" | cut -d = -f2)" != "unset" ]; then
163- export "$3"="$(grep "^DB${1}_${2}=" "${backup_instance_vars}" | cut -d = -f2)"
163+ export "$3"="$(grep "^DB${1}_${2}=" "${backup_instance_vars}" | cut -d = -f2- )"
164164 elif grep -q "^DB_${2}=" "${backup_instance_vars}" && [ "$(grep "^DB_${2}=" "${backup_instance_vars}" | cut -d = -f2)" != "unset" ]; then
165165 # Allow old legacy work, perhaps remove old DB_ functionality in future? This should allow for seamless upgrades
166166 #print_warn "Legacy Variable 'DB_${2}'' detected - Please upgrade your variables as they will be removed in version 4.3.0"
167- export "$3"="$(grep "^DB_${2}=" "${backup_instance_vars}" | cut -d = -f2)"
167+ export "$3"="$(grep "^DB_${2}=" "${backup_instance_vars}" | cut -d = -f2- )"
168168 elif grep -q "^${2}=" "${backup_instance_vars}" && [ "$(grep "^${2}=" "${backup_instance_vars}" | cut -d = -f2)" != "unset" ]; then
169169 print_warn "Legacy unsupported variable '${2}' detected - Please upgrade your variables as they will be removed in version 4.3.0"
170- export "$3"="$(grep "^${2}=" "${backup_instance_vars}" | cut -d = -f2)"
170+ export "$3"="$(grep "^${2}=" "${backup_instance_vars}" | cut -d = -f2- )"
171171 elif grep -q "^DEFAULT_${2}=" "${backup_instance_vars}" && [ "$(grep "^DEFAULT_${2}=" "${backup_instance_vars}" | cut -d = -f2)" != "unset" ]; then
172- export "$3"="$(grep "^DEFAULT_${2}=" "${backup_instance_vars}" | cut -d = -f2)"
172+ export "$3"="$(grep "^DEFAULT_${2}=" "${backup_instance_vars}" | cut -d = -f2- )"
173173 fi
174174 }
175175
You can’t perform that action at this time.
0 commit comments