summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-02-26 09:03:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-02 19:37:14 +0000
commit098a02161f967dc44e8aff68b0045a3412a9a1bb (patch)
treeab80400976ae621f7af62390874439a0eb84bdff
parent8069f0b1938fb66b10098627a3e3166f69c0e166 (diff)
downloadabuild-098a02161f967dc44e8aff68b0045a3412a9a1bb.tar.gz
abuild-098a02161f967dc44e8aff68b0045a3412a9a1bb.tar.bz2
abuild-098a02161f967dc44e8aff68b0045a3412a9a1bb.tar.xz
abuild-098a02161f967dc44e8aff68b0045a3412a9a1bb.zip
abuild: do not add busybox as dep to busybox itself
-rwxr-xr-xabuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild b/abuild
index baad267..7085af5 100755
--- a/abuild
+++ b/abuild
@@ -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