+2008-11-25: Paul Varner <fuzzyray@gentoo.org>
+ * revdep-rebuild: Fixes for non-linux Gentoo systems. Add patch from
+ igli to fix find command to comply with POSIX. Change awk calls to
+ gawk.
+
2008-11-11: Paul Varner <fuzzyray@gentoo.org>
* echangelog: Add --strict option (Bug 246242).
* echangelog: Fix processing of virtual category (Bug 179530)
# Replace whitespace with linebreaks, normalize repeated '/' chars, and sort -u
# (If any libs have whitespace in their filenames, someone needs punishment.)
clean_var() {
- awk 'BEGIN {RS="[[:space:]]"}
+ gawk 'BEGIN {RS="[[:space:]]"}
/-\*/ {exit}
/[^[:space:]]/ {gsub(/\/\/+/, "/"); print}' | sort -u
}
elif [[ $SEARCH_BROKEN ]]; then
# Look for broken .la files
for depend in $(
- awk -F"[=']" '/^dependency_libs/{
+ gawk -F"[=']" '/^dependency_libs/{
gsub("^-[^[:space:]]*", "", $3);
gsub("[[:space:]]-[^[:space:]]*", "", $3);
print $3
done < <(
# Regexify LD_LIBRARY_MASK. Exclude it from the search.
LD_LIBRARY_MASK="${LD_LIBRARY_MASK//$'\n'/|}"
- awk -v ldmask="(${LD_LIBRARY_MASK//./\\\.})" '
+ gawk -v ldmask="(${LD_LIBRARY_MASK//./\\\.})" '
/no version information available/ && $0 !~ ldmask {
gsub(/[()]/, "", $NF)
if (seen[$NF]++) next
ewarn "The broken files are:"
while read filename junk; do
[[ $junk = *none* ]] && ewarn " $filename"
- done < "$OWNERS_FILE" | awk '!s[$0]++' # (omit dupes)
+ done < "$OWNERS_FILE" | gawk '!s[$0]++' # (omit dupes)
fi
}
##