summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-19 06:18:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-19 06:18:56 +0000
commitd02257f0c807bcdafbd5387096188da67c3640d1 (patch)
tree793152bb4a1f5d6a8cff00d56dab29281a3cc831
parentfe6419454b38beb5c585044739f2551043363a0b (diff)
downloadabuild-d02257f0c807bcdafbd5387096188da67c3640d1.tar.gz
abuild-d02257f0c807bcdafbd5387096188da67c3640d1.tar.bz2
abuild-d02257f0c807bcdafbd5387096188da67c3640d1.tar.xz
abuild-d02257f0c807bcdafbd5387096188da67c3640d1.zip
abuild: remove duplicates from provides
-rwxr-xr-xabuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index b2e0197..e885dd9 100755
--- a/abuild.in
+++ b/abuild.in
@@ -982,7 +982,7 @@ scan_shared_objects() {
;;
esac
echo "$soname $sover"
- done > "$controldir"/.provides-so
+ done | sort -u > "$controldir"/.provides-so
# now find the so dependencies
scanelf --nobanner --recursive --needed "$datadir" | tr ' ' ':' \