From d537a005c60315255f8d1aaec7ba2c618f5a9dea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 10 Dec 2015 10:15:53 +0000 Subject: abuild: avoid dupes in provides so:* similar as commit b3174ba76 ("abuild: make sure we don't add dupes of provides", Fri Jun 5 12:56:44 2015 +0000) --- abuild.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'abuild.in') diff --git a/abuild.in b/abuild.in index a81ac49..1f330b1 100644 --- a/abuild.in +++ b/abuild.in @@ -1077,7 +1077,8 @@ trace_apk_deps() { echo "# automatically detected:" >> "$dir"/.PKGINFO if [ -f "$dir"/.provides-so ]; then - sed 's/^\(.*\) \([0-9].*\)/provides = so:\1=\2/' "$dir"/.provides-so \ + sed 's/^\(.*\) \([0-9].*\)/provides = so:\1=\2/' \ + "$dir"/.provides-so | sort -u \ >> "$dir"/.PKGINFO fi if [ -f "$dir"/.provides-pc ]; then -- cgit v1.2.3-70-g09d2