diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-23 09:56:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-23 10:07:36 +0000 |
commit | a1d23dc9951e1e182bb611c1dd0e1078879d2774 (patch) | |
tree | e4d01749d9d92db4afd6d8503b672a847804404a /abuild.in | |
parent | 18b09f9d91373da025168bc32116ae9953cfcf6b (diff) | |
download | abuild-a1d23dc9951e1e182bb611c1dd0e1078879d2774.tar.gz abuild-a1d23dc9951e1e182bb611c1dd0e1078879d2774.tar.bz2 abuild-a1d23dc9951e1e182bb611c1dd0e1078879d2774.tar.xz abuild-a1d23dc9951e1e182bb611c1dd0e1078879d2774.zip |
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
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |