From f5a3a48da0dc6b3ab052c9a447fd800e4674b6e0 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 28 Jun 2011 11:31:40 +0000 Subject: abuild: fix bug in install script detection --- abuild.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'abuild.in') diff --git a/abuild.in b/abuild.in index 9db9c5b..fdc9527 100755 --- a/abuild.in +++ b/abuild.in @@ -553,6 +553,7 @@ EOF if [ "$pkgname" != "busybox" ] && ! depends_has busbox; 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" @@ -600,7 +601,7 @@ EOF for i in $install $triggers; do local f=${i%=*} local n=${f%.*} - if [ "$n" != "$pkgname" ]; then + if [ "$n" != "$name" ]; then continue fi script=${f#$name} -- cgit v1.2.3-60-g2f50