Commit 62853e71 authored by Natanael Copa's avatar Natanael Copa

abuild: fix check_depends_dev

parent cd3eabdf
...@@ -747,15 +747,16 @@ check_maintainer() { ...@@ -747,15 +747,16 @@ check_maintainer() {
} }
check_depends_dev() { check_depends_dev() {
if [ -n "$depends_dev" ]; then if [ -z "$depends_dev" ]; then
local pkgname return 0
for i in $pkgname $subpackages; do
case "$pkgname" in
*-dev) return 0 ;;
esac
done
return 1
fi fi
local i
for i in $pkgname $subpackages; do
case "$i" in
*-dev) return 0 ;;
esac
done
return 1
} }
prepare_metafiles() { prepare_metafiles() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment