]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions: use LC_ALL=C rather than LANG=C
authorHarald Hoyer <harald@redhat.com>
Tue, 22 Jun 2010 09:59:49 +0000 (11:59 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 22 Jun 2010 09:59:49 +0000 (11:59 +0200)
dracut-functions

index 57dd70254ded1192f383762fcb9927a19b74e9da..2cd573af70cd3fa68fbf15b6de8a39e0673be6ae 100755 (executable)
@@ -248,7 +248,7 @@ inst_binary() {
     local LDSO NAME IO FILE ADDR I1 n f TLIBDIR
     [[ -e $initdir$target ]] && return 0
     # I love bash!
-    LANG=C ldd $bin 2>/dev/null | while read line; do
+    LC_ALL=C ldd $bin 2>/dev/null | while read line; do
        [[ $line = 'not a dynamic executable' ]] && return 1
        if [[ $line =~ not\ found ]]; then
            derror "Missing a shared library required by $bin."