summaryrefslogtreecommitdiff
path: root/user/bearssl/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-11-07 14:34:41 -0600
committerZach van Rijn <me@zv.io>2023-11-07 14:34:41 -0600
commit662155c50b98df2793ac338003bceacddcf082db (patch)
tree7a930cb82bb70604f94ce2bce05cfe92bc70f2f0 /user/bearssl/APKBUILD
parent150423d8e4fbddbc3324633cb48d79e74aef8d07 (diff)
downloadpackages-662155c50b98df2793ac338003bceacddcf082db.tar.gz
packages-662155c50b98df2793ac338003bceacddcf082db.tar.bz2
packages-662155c50b98df2793ac338003bceacddcf082db.tar.xz
packages-662155c50b98df2793ac338003bceacddcf082db.zip
user/bearssl: fix bashisms.
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 \