summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-10 12:55:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-10 12:58:56 +0000
commita2bab13656e093cb2e914587405829c9ea4a5ccd (patch)
treeed0a909ec909f65f3d79ac8743da622c238086b1
parent23c760b499ff4505f1bf8072c918e01c863bff94 (diff)
downloadabuild-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-xabuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/abuild.in b/abuild.in
index db65835..5405d5a 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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