abuild: reset $install for sub packages

fixes #22
This commit is contained in:
Natanael Copa 2009-04-08 09:07:09 +00:00
parent 73c01eda0e
commit 4044b7873a
1 changed files with 2 additions and 1 deletions

3
abuild
View File

@ -795,9 +795,10 @@ if [ -z "$newname" ]; then
. "$APKBUILD"
fi
# If we are handling a sub package then reset subpackages
# If we are handling a sub package then reset subpackages and install
if [ -n "$subpkgname" ]; then
subpackages=
install=
fi
trap 'die "Aborted by user"' INT