diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-12 07:01:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-12 07:01:06 +0000 |
commit | 62853e714521d98dead841ba954f2b9778f2ff37 (patch) | |
tree | c16db87979484fbdc75e4c48362beeca25acae10 /abuild.in | |
parent | cd3eabdf4dd1fff6c4373b9ebcfec4152ac82a3c (diff) | |
download | abuild-62853e714521d98dead841ba954f2b9778f2ff37.tar.gz abuild-62853e714521d98dead841ba954f2b9778f2ff37.tar.bz2 abuild-62853e714521d98dead841ba954f2b9778f2ff37.tar.xz abuild-62853e714521d98dead841ba954f2b9778f2ff37.zip |
abuild: fix check_depends_dev
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -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() { |