[adm5120] add button devices to several boards
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.22 / 904-ls_time_locale.patch
1 Index: linux-2.6.22.19/scripts/gen_initramfs_list.sh
2 ===================================================================
3 --- linux-2.6.22.19.orig/scripts/gen_initramfs_list.sh
4 +++ linux-2.6.22.19/scripts/gen_initramfs_list.sh
5 @@ -125,7 +125,7 @@ parse() {
6 str="${ftype} ${name} ${location} ${str}"
7 ;;
8 "nod")
9 - local dev=`LC_ALL=C ls -l "${location}"`
10 + local dev=`LC_ALL=C ls -l --time-style=locale "${location}"`
11 local maj=`field 5 ${dev}`
12 local min=`field 6 ${dev}`
13 maj=${maj%,}
14 @@ -135,7 +135,7 @@ parse() {
15 str="${ftype} ${name} ${str} ${dev} ${maj} ${min}"
16 ;;
17 "slink")
18 - local target=`field 11 $(LC_ALL=C ls -l "${location}")`
19 + local target=`field 11 $(LC_ALL=C ls -l --time-style=locale "${location}")`
20 str="${ftype} ${name} ${target} ${str}"
21 ;;
22 *)
This page took 0.058724 seconds and 5 git commands to generate.