From: Harald Hoyer Date: Tue, 22 Jun 2010 08:32:25 +0000 (+0200) Subject: dracut-functions: set LANG=C for ldd output parsing X-Git-Tag: 007~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4ebd474ec39d28a5e211f47bf77db3939ca2e90;p=thirdparty%2Fdracut.git dracut-functions: set LANG=C for ldd output parsing --- diff --git a/dracut-functions b/dracut-functions index 58f119fc0..57dd70254 100755 --- a/dracut-functions +++ b/dracut-functions @@ -248,7 +248,7 @@ inst_binary() { local LDSO NAME IO FILE ADDR I1 n f TLIBDIR [[ -e $initdir$target ]] && return 0 # I love bash! - ldd $bin 2>/dev/null | while read line; do + LANG=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."