abuild: remove duplicates from provides

This commit is contained in:
Natanael Copa 2012-09-19 06:18:56 +00:00
parent fe6419454b
commit d02257f0c8

View File

@ -982,7 +982,7 @@ scan_shared_objects() {
;; ;;
esac esac
echo "$soname $sover" echo "$soname $sover"
done > "$controldir"/.provides-so done | sort -u > "$controldir"/.provides-so
# now find the so dependencies # now find the so dependencies
scanelf --nobanner --recursive --needed "$datadir" | tr ' ' ':' \ scanelf --nobanner --recursive --needed "$datadir" | tr ' ' ':' \