build(docker/fradrive): remove path-quoting for settings files

This commit is contained in:
Sarah Vaupel 2025-02-14 16:55:40 +01:00
parent 7b2d2bedb7
commit f23da55693

View File

@ -10,7 +10,8 @@ configDir=${CONFIG_DIR-/cfg}
configs=()
if [[ -d "${configDir}" ]]; then
while IFS= read -d $'\0' cfg; do
configs+=("${(q)cfg}")
# IMPORTANT: The paths to the settings-yaml-files should not contain spaces, otherwise this might fail runtime!
configs+=("${cfg}")
done < <(find "${configDir}" \( -name '*.yml' -o -name '*.yaml' \) -print0 | sort -rz)
fi