X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=usr%2Fgen_initramfs.sh;h=63476bb70b41ef3f90d4fe1649461ba7160787a6;hb=f8ca7b74192b2e64bdfb89fb63c1d33b92bc899d;hp=8ae831657e5d86d5abe18ebd32e868484b65baab;hpb=0fdc50dfab47d525b71a9f0d8310746cdc0c09c5;p=linux-2.6-microblaze.git diff --git a/usr/gen_initramfs.sh b/usr/gen_initramfs.sh index 8ae831657e5d..63476bb70b41 100755 --- a/usr/gen_initramfs.sh +++ b/usr/gen_initramfs.sh @@ -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