summaryrefslogtreecommitdiff
path: root/finddeps
diff options
context:
space:
mode:
Diffstat (limited to 'finddeps')
-rwxr-xr-xfinddeps7
1 files changed, 7 insertions, 0 deletions
diff --git a/finddeps b/finddeps
index c47518a..fcf18db 100755
--- a/finddeps
+++ b/finddeps
@@ -34,6 +34,13 @@ for d in $(find . -type d); do
echo "$d (makedepends)"
fi
done
+ for dep in "${optdepends[@]/:*}"; do
+ # lose the version comaparator, if any
+ depname=${dep%%[<>=]*}
+ if [ "$depname" = "$match" ]; then
+ echo "$d (optdepends)"
+ fi
+ done
fi
cd $tld
done