summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 703117c..0813dd3 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1239,7 +1239,7 @@ scan_pkgconfig_depends() {
| sed -E 's/\s*([<>=]+)\s*/\1/' \
| while read pc; do
# only add files that are not self provided
- if ! grep -q -w "^${pc%[<>=]*}" "$provides_pc"; then
+ if ! grep -q -w "^${pc%%[<>=]*}" "$provides_pc"; then
echo "$pc" >> "$controldir"/.needs-pc
fi
done