Predictable alphabetically sorted user fragment application (#518)

This commit is contained in:
Slaviusz
2022-05-24 23:56:42 +02:00
committed by GitHub
parent 174fdd1677
commit 03e9f00901

View File

@@ -1388,7 +1388,7 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\r
if [ true = "$_config_fragments" ]; then
local fragments=()
mapfile -d '' -t fragments < <(find "$_where"/ -type f -name "*.myfrag" -print0)
mapfile -d '' -t fragments < <(find "$_where"/ -type f -name "*.myfrag" -print0 | sort -z)
if [ true = "$_config_fragments_no_confirm" ]; then
printf 'Using config fragment %s\n' "${fragments[@]#$_where/}" #"