abuild: do not add busybox as dep to busybox itself

This commit is contained in:
Natanael Copa 2009-02-26 09:03:03 +00:00
parent 8069f0b193
commit 098a02161f
1 changed files with 1 additions and 1 deletions

2
abuild
View File

@ -285,7 +285,7 @@ size = $size
EOF
local i deps
deps="$depends"
if [ -n "$install" ] && head -n 1 "$srcdir/$install" | grep '^#' >/dev/null && ! depends_has busybox ; then
if [ -n "$install" ] && head -n 1 "$srcdir/$install" | grep '^#' >/dev/null && ! depends_has busybox && [ "$pkgname" != "busybox" ]; then
msg "Adding busybox to depends since we have an install script"
deps="$deps busybox"
fi