Commit 31111b0c authored by Leo's avatar Leo

fix the new lint tag

parent 7326f29a
......@@ -154,7 +154,8 @@ depends_makedepends_checkdepends_overlap() {
fi
done
# Don't check against checkdepends if it is empty
# Don't check against checkdepends if it is empty, no need to check for
# makedepends because the loop just won't run if it is empty.
[ -z "$checkdepends" ] && return 0
for d in $makedepends; do
if printf "%s\\n" "$_ckdeps" | grep -q "^$d$"; then
......@@ -188,11 +189,14 @@ for apkbuild; do
upper_repo_depends &
duplicate_depends &
fi
# This can be run if either 2 of the 3 are not empty
# depends makedepends checkdepends
depends_makedepends_checkdepends_overlap &
if [ ! -z "$makedepends" ]; then
upper_repo_makedepends &
duplicate_makedepends &
depends_makedepends_checkdepends_overlap &
fi
if [ ! -z "$checkdepends" ]; then
......
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