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

abuild: fix check_depends_dev

parent cd3eabdf
......@@ -747,15 +747,16 @@ check_maintainer() {
}
check_depends_dev() {
if [ -n "$depends_dev" ]; then
local pkgname
for i in $pkgname $subpackages; do
case "$pkgname" in
*-dev) return 0 ;;
esac
done
return 1
if [ -z "$depends_dev" ]; then
return 0
fi
local i
for i in $pkgname $subpackages; do
case "$i" in
*-dev) return 0 ;;
esac
done
return 1
}
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