summaryrefslogtreecommitdiff
path: root/user/bearssl/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/bearssl/APKBUILD')
-rw-r--r--user/bearssl/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/bearssl/APKBUILD b/user/bearssl/APKBUILD
index a720507a4..b79ca366c 100644
--- a/user/bearssl/APKBUILD
+++ b/user/bearssl/APKBUILD
@@ -15,7 +15,7 @@ source="bearssl-$pkgver.tar.gz::https://bearssl.org/gitweb/?p=BearSSL;a=snapshot
bearssl-brssl-dynamic.patch
"
-builddir=$PWD/src/BearSSL-${_pkgcommit:0:7}
+builddir="${srcdir}"/BearSSL-$(printf "%s" "${_pkgcommit}" | cut -c -7)
build() {
make \