Merge tag 'kbuild-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy...
[sfrench/cifs-2.6.git] / usr / gen_initramfs.sh
index 8ae831657e5d86d5abe18ebd32e868484b65baab..63476bb70b41ef3f90d4fe1649461ba7160787a6 100755 (executable)
@@ -147,7 +147,7 @@ dir_filelist() {
        header "$1"
 
        srcdir=$(echo "$1" | sed -e 's://*:/:g')
-       dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" | LANG=C sort)
+       dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" | LC_ALL=C sort)
 
        # If $dirlist is only one line, then the directory is empty
        if [  "$(echo "${dirlist}" | wc -l)" -gt 1 ]; then