]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
[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 e80d786a00c4dbc95645b82c079a6d225e344127..a0a1906b1c8908cfe61335781765803f2f0f890b 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