remove empty directory
[openwrt.git] / target / linux / generic-2.6 / patches / 904-ls_time_locale.patch
1 Index: linux-2.6.21.7/scripts/gen_initramfs_list.sh
2 ===================================================================
3 --- linux-2.6.21.7.orig/scripts/gen_initramfs_list.sh
4 +++ linux-2.6.21.7/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.064581 seconds and 5 git commands to generate.