dracut-functions: set LANG=C for ldd output parsing

master
Harald Hoyer 2010-06-22 10:32:25 +02:00
parent ae5ec68355
commit e4ebd474ec
1 changed files with 1 additions and 1 deletions

View File

@ -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."