From: fuzzyray Date: Mon, 6 Aug 2007 15:20:36 +0000 (-0000) Subject: Fix processing of .la files (Bug #187453) X-Git-Tag: gentoolkit-0.2.4.3~86 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe509e873e4e60350e1dbd932e7131c1fdd8d26d;p=gentoolkit.git Fix processing of .la files (Bug #187453) svn path=/; revision=427 --- diff --git a/trunk/ChangeLog b/trunk/ChangeLog index 63dec3c..be50487 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,3 +1,6 @@ +2007-08-06: Paul Varner + * revdep-rebuild: Fix processing of .la files (Bug #187453) + 2007-07-30: Paul Varner * revdep-rebuild: Fix grepping for non-existant package-owners file (Bug #187141) diff --git a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite index 9168dba..0fd3318 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite +++ b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite @@ -576,12 +576,12 @@ main_checks() { # Look for broken .la files for depend in $( awk -F"[=']" '/^dependency_libs/{ - gsub("^-[^[:space:]]*", "", $2); - gsub("[[:space:]]-[^[:space:]]*", "", $2); - print $2 + gsub("^-[^[:space:]]*", "", $3); + gsub("[[:space:]]-[^[:space:]]*", "", $3); + print $3 }' "$target_file" ); do - if [[ $depend != /* && ! -e $depend ]]; then + if [[ $depend = /* && ! -e $depend ]]; then echo "obj $target_file" >> "$LIST.3_rebuild" echo_v " broken $target_file (requires $depend)" fi