summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2010-02-05 20:57:56 +0000
committerfuzzyray <fuzzyray@gentoo.org>2010-02-05 20:57:56 +0000
commita47dbfef50e10ad8233b47862391401964b4edb6 (patch)
treee3ef238f9d3f4c6b9bddfb41020de3cf5d30d263 /bin
parente9ea7b82eea3022ca4fc4cd1bfd970aff2e2c02a (diff)
downloadgentoolkit-a47dbfef50e10ad8233b47862391401964b4edb6.tar.gz
Update revdep-rebuild to use extended regular expressions instead of basic regular expressions. (Bug 143498)
svn path=/trunk/gentoolkit/; revision=740
Diffstat (limited to 'bin')
-rwxr-xr-xbin/revdep-rebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/revdep-rebuild b/bin/revdep-rebuild
index 55093cf..f797f89 100755
--- a/bin/revdep-rebuild
+++ b/bin/revdep-rebuild
@@ -733,10 +733,10 @@ main_checks() {
ldd_status=$? # TODO: Check this for problems with sort
# HACK: if LD_LIBRARY_MASK is null or undefined grep -vF doesn't work
if grep -vF "${LD_LIBRARY_MASK:=$'\a'}" <<< "$ldd_output" |
- grep -q "$SONAME_SEARCH"; then
+ grep -q -E "$SONAME_SEARCH"; then
if [[ $SEARCH_BROKEN && $FULL_LD_PATH ]]; then
if LD_LIBRARY_PATH="$COMPLETE_LD_LIBRARY_PATH" ldd "$target_file" 2>/dev/null |
- grep -vF "$LD_LIBRARY_MASK" | grep -q "$SONAME_SEARCH"; then
+ grep -vF "$LD_LIBRARY_MASK" | grep -q -E "$SONAME_SEARCH"; then
# FIXME: I hate duplicating code
# Only build missing direct dependencies
MISSING_LIBS=$(