Browse Source

[PATCH 46/50] fixed library-matching regex

Forgot about /lib64
master
Victor Lowther 16 years ago committed by Dave Jones
parent
commit
bff8c33c2b
  1. 2
      dracut-functions

2
dracut-functions

@ -68,7 +68,7 @@ inst_binary() { @@ -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

Loading…
Cancel
Save