projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeaaa81
)
[PATCH 46/50] fixed library-matching regex
author
Victor Lowther
<victor.lowther@gmail.com>
Fri, 13 Feb 2009 12:43:21 +0000
(
04:43
-0800)
committer
Dave Jones
<davej@redhat.com>
Mon, 16 Feb 2009 18:56:42 +0000
(13:56 -0500)
Forgot about /lib64
dracut-functions
patch
|
blob
|
history
diff --git
a/dracut-functions
b/dracut-functions
index
e80d786
..
a0a1906
100755
(executable)
--- 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