Skip to content

Commit 050bca0

Browse files
authored
Merge pull request #2862 from OSInside/fix_code_not_posix_compliant
Fix dracut code to be POSIX compliant
2 parents 6ecd639 + e911bd6 commit 050bca0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dracut/modules.d/90kiwi-dump/kiwi-dump-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ function sort_disk_entries {
5454
fi
5555
count=$((count + 1))
5656
done
57-
readarray -td '' list_items_sorted \
58-
< <(printf '%s\0' "${device_array[@]}" | sort -z)
57+
printf '%s\0' "${device_array[@]}" | sort -z > list_items_sorted.txt
58+
readarray -td '' list_items_sorted < list_items_sorted.txt
5959
echo "${list_items_sorted[*]}"
6060
}
6161

0 commit comments

Comments
 (0)