mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-25 00:12:19 +00:00
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)
This commit is contained in:
parent
4329ca2784
commit
d537a005c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user