[adm5120] fix initcall level in i2c-gpio-custom driver if not built as a module
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.23 / 904-ls_time_locale.patch
1 Index: linux-2.6.23-rc6/scripts/gen_initramfs_list.sh
2 ===================================================================
3 --- linux-2.6.23-rc6.orig/scripts/gen_initramfs_list.sh 2007-09-21 16:23:51.000000000 +0800
4 +++ linux-2.6.23-rc6/scripts/gen_initramfs_list.sh 2007-09-21 16:24:11.000000000 +0800
5 @@ -125,7 +125,7 @@
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 @@
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.068377 seconds and 5 git commands to generate.