Blame 0007-dracut-functions-set-LANG-C-for-ldd-output-parsing.patch

Harald Hoyer c3a574
From e4ebd474ec39d28a5e211f47bf77db3939ca2e90 Mon Sep 17 00:00:00 2001
Harald Hoyer c3a574
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer c3a574
Date: Tue, 22 Jun 2010 10:32:25 +0200
Harald Hoyer c3a574
Subject: [PATCH 7/8] dracut-functions: set LANG=C for ldd output parsing
Harald Hoyer c3a574
Harald Hoyer c3a574
---
Harald Hoyer c3a574
 dracut-functions |    2 +-
Harald Hoyer c3a574
 1 files changed, 1 insertions(+), 1 deletions(-)
Harald Hoyer c3a574
Harald Hoyer c3a574
diff --git a/dracut-functions b/dracut-functions
Harald Hoyer c3a574
index 58f119f..57dd702 100755
Harald Hoyer c3a574
--- a/dracut-functions
Harald Hoyer c3a574
+++ b/dracut-functions
Harald Hoyer c3a574
@@ -248,7 +248,7 @@ inst_binary() {
Harald Hoyer c3a574
     local LDSO NAME IO FILE ADDR I1 n f TLIBDIR
Harald Hoyer c3a574
     [[ -e $initdir$target ]] && return 0
Harald Hoyer c3a574
     # I love bash!
Harald Hoyer c3a574
-    ldd $bin 2>/dev/null | while read line; do
Harald Hoyer c3a574
+    LANG=C ldd $bin 2>/dev/null | while read line; do
Harald Hoyer c3a574
 	[[ $line = 'not a dynamic executable' ]] && return 1
Harald Hoyer c3a574
 	if [[ $line =~ not\ found ]]; then
Harald Hoyer c3a574
 	    derror "Missing a shared library required by $bin."
Harald Hoyer c3a574
-- 
Harald Hoyer c3a574
1.7.0.1
Harald Hoyer c3a574