+2007-08-06: Paul Varner <fuzzyray@gentoo.org>
+ * revdep-rebuild: Fix processing of .la files (Bug #187453)
+
2007-07-30: Paul Varner <fuzzyray@gentoo.org>
* revdep-rebuild: Fix grepping for non-existant package-owners file
(Bug #187141)
# 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