summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/abuild.in b/abuild.in
index f3583a2..595f09b 100644
--- a/abuild.in
+++ b/abuild.in
@@ -894,13 +894,13 @@ prepare_metafiles() {
EOF
local i deps
deps="$depends"
- if [ "$pkgname" != "busybox" ] && ! depends_has busybox; then
+ if [ "$pkgname" != "busybox" ] && ! depends_has busybox && ! depends_has /bin/sh; then
for i in $install $triggers; do
local s=${i%=*}
[ "$name" != "${s%.*}" ] && continue
if head -n 1 "$startdir/$s" | grep '^#!/bin/sh' >/dev/null ; then
- msg "Script found. busybox added as a dependency for $pkg"
- deps="$deps busybox"
+ msg "Script found. /bin/sh added as a dependency for $pkg"
+ deps="$deps /bin/sh"
break
fi
done