Fix errors in previous patch
authorfuzzyray <fuzzyray@gentoo.org>
Fri, 14 Sep 2007 19:14:35 +0000 (19:14 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Fri, 14 Sep 2007 19:14:35 +0000 (19:14 -0000)
svn path=/; revision=440

trunk/src/revdep-rebuild/revdep-rebuild-rewrite

index 947234c2a7332aa850034285409c551d03cbd4d9..aa01e1c05f02e612018b588ffa9339f4af31e708 100755 (executable)
@@ -593,10 +593,10 @@ main_checks() {
                                        /no version information available/{
                                        gsub("[()]", "", $NF);
                                                if (seen[$NF]++)  next;
-                                               if ($NF ~ ldmask) next;
+                                               if ($0 ~ ldmask) next;
                                        print $NF
                                        }' "$LIST.3_ldd_errors"
-                       ); do
+                       )
                fi
                [[ -r $LIST.3_rebuild && -s $LIST.3_rebuild ]] || clean_exit
                einfo "Generated new $LIST.3_rebuild"