build(docker/fradrive): remove path-quoting for settings files
This commit is contained in:
parent
7b2d2bedb7
commit
f23da55693
@ -10,7 +10,8 @@ configDir=${CONFIG_DIR-/cfg}
|
|||||||
configs=()
|
configs=()
|
||||||
if [[ -d "${configDir}" ]]; then
|
if [[ -d "${configDir}" ]]; then
|
||||||
while IFS= read -d $'\0' cfg; do
|
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)
|
done < <(find "${configDir}" \( -name '*.yml' -o -name '*.yaml' \) -print0 | sort -rz)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user