From a1d23dc9951e1e182bb611c1dd0e1078879d2774 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 23 Mar 2016 09:56:25 +0000 Subject: abuild: rename _builddir to builddir the _ prefix is reserved for APKBUILD. This is to avoid use variable names in APKBUILD that may clash with abuilds internal vars --- abuild.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'abuild.in') diff --git a/abuild.in b/abuild.in index d8c6029..ac43a11 100644 --- a/abuild.in +++ b/abuild.in @@ -532,7 +532,8 @@ getpkgver() { default_prepare() { local i - cd "$_builddir" + cd "${builddir:-$srcdir/$pkgname-$pkgver}" \ + || { error "Is \$builddir set correctly?"; return 1; } for i in $source; do case $i in *.patch) -- cgit v1.2.3-70-g09d2