aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-06-07 17:04:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-07 17:05:24 +0000
commit6d75995e1daf306833b649a105027164d0da007e (patch)
treeecdd648cd7d486201c7e2171e893d4bef8f2c9fa
parent4bedd600a9e08aa32fa8e580a2150a6455a7a2e7 (diff)
downloadaports-6d75995e1daf306833b649a105027164d0da007e.tar.bz2
aports-6d75995e1daf306833b649a105027164d0da007e.tar.xz
main/py-twisted: trivial bashism fix
-rw-r--r--main/py-twisted/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/py-twisted/APKBUILD b/main/py-twisted/APKBUILD
index 516feaf603..b6a876972d 100644
--- a/main/py-twisted/APKBUILD
+++ b/main/py-twisted/APKBUILD
@@ -39,7 +39,7 @@ _py3() {
_py() {
local python="$1"
- local pyver="${1:6:1}"
+ local pyver="${1#python}"
pkgdesc="$pkgdesc (for $python)"
depends="$depends $python"
install_if="$pkgname=$pkgver-r$pkgrel $python"