From fe509e873e4e60350e1dbd932e7131c1fdd8d26d Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Mon, 6 Aug 2007 15:20:36 +0000 Subject: [PATCH] Fix processing of .la files (Bug #187453) svn path=/; revision=427 --- trunk/ChangeLog | 3 +++ trunk/src/revdep-rebuild/revdep-rebuild-rewrite | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) 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 -- 2.26.2