1 --- a/scripts/gen_initramfs_list.sh
2 +++ b/scripts/gen_initramfs_list.sh
4 str="${ftype} ${name} ${location} ${str}"
7 - local dev=`LC_ALL=C ls -l "${location}"`
8 + local dev=`LC_ALL=C ls -l --time-style=locale "${location}"`
9 local maj=`field 5 ${dev}`
10 local min=`field 6 ${dev}`
13 str="${ftype} ${name} ${str} ${dev} ${maj} ${min}"
16 - local target=`field 11 $(LC_ALL=C ls -l "${location}")`
17 + local target=`field 11 $(LC_ALL=C ls -l --time-style=locale "${location}")`
18 str="${ftype} ${name} ${target} ${str}"