diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-28 11:31:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-28 11:31:40 +0000 |
commit | f5a3a48da0dc6b3ab052c9a447fd800e4674b6e0 (patch) | |
tree | 110af1b9b769a441cf1e3d7ba122802f9d080ce0 /abuild.in | |
parent | 9947fdfafadd0d5fe4a19ff38f1e55ead0d95ac2 (diff) | |
download | abuild-f5a3a48da0dc6b3ab052c9a447fd800e4674b6e0.tar.gz abuild-f5a3a48da0dc6b3ab052c9a447fd800e4674b6e0.tar.bz2 abuild-f5a3a48da0dc6b3ab052c9a447fd800e4674b6e0.tar.xz abuild-f5a3a48da0dc6b3ab052c9a447fd800e4674b6e0.zip |
abuild: fix bug in install script detection
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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} |