diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-10 12:55:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-10 12:58:56 +0000 |
commit | a2bab13656e093cb2e914587405829c9ea4a5ccd (patch) | |
tree | ed0a909ec909f65f3d79ac8743da622c238086b1 | |
parent | 23c760b499ff4505f1bf8072c918e01c863bff94 (diff) | |
download | abuild-a2bab13656e093cb2e914587405829c9ea4a5ccd.tar.gz abuild-a2bab13656e093cb2e914587405829c9ea4a5ccd.tar.bz2 abuild-a2bab13656e093cb2e914587405829c9ea4a5ccd.tar.xz abuild-a2bab13656e093cb2e914587405829c9ea4a5ccd.zip |
abuild: fix recursive building
fixes bug introduced with c6b0de32a (abuild: add makedepends_build and
makedepends_host for crosscompile)
-rwxr-xr-x | abuild.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1610,7 +1610,7 @@ builddeps() { [ -z "$recursive" ] && return 1 # find dependencies that are installed but missing in repo. - for i in $deps; do + for i in $builddeps; do local m=$($APK search --repository "$abuildrepo" ${i%%[<>=]*}) if [ -z "$m" ]; then missing="$missing $i" @@ -1635,7 +1635,7 @@ builddeps() { done $SUDO_APK add --upgrade --repository "$abuildrepo" \ $apk_opt_wait \ - --virtual .makedepends-$pkgname $deps + --virtual .makedepends-$pkgname $builddeps } # replace the md5sums in the APKBUILD |