Update revdep-rebuild to use extended regular expressions instead of basic regular...
authorfuzzyray <fuzzyray@gentoo.org>
Fri, 5 Feb 2010 20:57:56 +0000 (20:57 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Fri, 5 Feb 2010 20:57:56 +0000 (20:57 -0000)
svn path=/trunk/gentoolkit/; revision=740

ChangeLog
bin/revdep-rebuild

index a5b7be2fd01b661d56d68e80bc9bf81b1824556e..a1f439553f3bdf7e05bdb253543ca3870da1e4b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-05: Paul Varner <fuzzyray@gentoo.org>
+       *revdep-rebuild: Update revdep-rebuild to use extended regular
+       expressions instead of basic regular expressions. (Bug 143498)
+
 2010-02-04: Paul Varner <fuzzyray@gentoo.org>
        * revdep-rebuild: Fix revdep-rebuild to handle include statements in
        /etc/ld.so.conf. (Bug 298651)
index 55093cf96359e60d1161f550a49fd75859bbde97..f797f89e47616e6416d260a91cbcb43816ffa59e 100755 (executable)
@@ -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=$(