[PATCH 46/50] fixed library-matching regex
authorVictor Lowther <victor.lowther@gmail.com>
Fri, 13 Feb 2009 12:43:21 +0000 (04:43 -0800)
committerDave Jones <davej@redhat.com>
Mon, 16 Feb 2009 18:56:42 +0000 (13:56 -0500)
Forgot about /lib64

dracut-functions

index e80d786..a0a1906 100755 (executable)
@@ -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