mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
In some old shell versions, string comparisons in [ ... ] could go wrong if the first argument began with certain characters. It has been common practice to avoid this problem by prefixing both sides with 'x'. bash and dash have not had this problem for well over a decade, so clean this up. Further details are at <https://www.shellcheck.net/wiki/SC2268>. Signed-off-by: Ben Hutchings <benh@debian.org>
Description
initramfs-tools
Languages
Shell
68.3%
Roff
22.3%
C
9.3%