diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-12-10 10:15:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-01-27 10:50:50 +0000 |
commit | d537a005c60315255f8d1aaec7ba2c618f5a9dea (patch) | |
tree | 062d0428e13bf1730450e46949deb8b31888dac9 /abuild.in | |
parent | 4329ca27848f041589e29aa12d8ab282a253f97a (diff) | |
download | abuild-d537a005c60315255f8d1aaec7ba2c618f5a9dea.tar.gz abuild-d537a005c60315255f8d1aaec7ba2c618f5a9dea.tar.bz2 abuild-d537a005c60315255f8d1aaec7ba2c618f5a9dea.tar.xz abuild-d537a005c60315255f8d1aaec7ba2c618f5a9dea.zip |
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)
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |