summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-06-05 12:56:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-05 12:56:44 +0000
commitb3174ba768b14009401acd63baa8c3d5730fe2df (patch)
treec54d94aa42433d2c87b91dbb6d5f91b123696d58
parentfede6d1161acfcfe9e0f3fadeeb1a6e75021e037 (diff)
downloadabuild-b3174ba768b14009401acd63baa8c3d5730fe2df.tar.bz2
abuild-b3174ba768b14009401acd63baa8c3d5730fe2df.tar.xz
abuild: make sure we don't add dupes of provides
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 5457b0d..9e6f43a 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1069,7 +1069,7 @@ trace_apk_deps() {
>> "$dir"/.PKGINFO
fi
if [ -f "$dir"/.provides-pc ]; then
- sed 's/^/provides = pc:/' "$dir"/.provides-pc \
+ sed 's/^/provides = pc:/' "$dir"/.provides-pc | sort -u \
>> "$dir"/.PKGINFO
fi
[ -z "$autodeps" ] && return 0