From bff8c33c2bb17a7641ce664c5435f35956dbd02f Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Fri, 13 Feb 2009 04:43:21 -0800 Subject: [PATCH] [PATCH 46/50] fixed library-matching regex Forgot about /lib64 --- dracut-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut-functions b/dracut-functions index e80d786..a0a1906 100755 --- a/dracut-functions +++ b/dracut-functions @@ -68,7 +68,7 @@ inst_binary() { [[ -f $initdir$target ]] && return 0 # I love bash! while read line; do - [[ $line =~ '([^ ]*/lib/[^ ]*\.so[^ ]*|not found)' ]] || continue + [[ $line =~ '([^ ]*/lib[^/]*/[^ ]*\.so[^ ]*|not found)' ]] || continue FILE=${BASH_REMATCH[1]} [[ $FILE = 'not found' ]] && { echo "Missing a shared library required by $bin." >&2 -- 2.7.4