Bookstack cleaned

This commit is contained in:
2024-07-26 11:33:24 -07:00
parent 2f1c6757c8
commit 351bbada86
5 changed files with 35 additions and 24 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ process_env_vars() {
# Loop through each environment variable
while IFS= read -r env_var; do
# Split into name and value parts based on '='
var_name="${env_var%%:*}" # Variable name (split by colon for YAML)
var_value="${env_var#*: }" # Variable value (remove leading space)
var_name="${env_var%%=*}" # Variable name
var_value="${env_var#*=}" # Variable value
# Handle variables without existing braces (not previously processed)
if [[ "$var_value" != *'${'* ]]; then