aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>2020-06-24 23:50:36 +0530
committerLeo <thinkabit.ukim@gmail.com>2020-06-29 18:37:50 +0000
commit38bfaf93da9110426ad0f4f823fc40030cc25730 (patch)
tree7a35521bb1767dfd052e068ec63771c4df9c8733
parent7dc6f55df72daaac56ea4bb6b97daf86f23c5a35 (diff)
downloadaports-38bfaf93da9110426ad0f4f823fc40030cc25730.tar.gz
aports-38bfaf93da9110426ad0f4f823fc40030cc25730.tar.bz2
aports-38bfaf93da9110426ad0f4f823fc40030cc25730.tar.xz
community/bcc: use python3 as the interpreter for bcc-tools
Update tools to use /usr/bin/python3 as the interpreter.
-rw-r--r--community/bcc/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/bcc/APKBUILD b/community/bcc/APKBUILD
index f72ac85915..666689cf9c 100644
--- a/community/bcc/APKBUILD
+++ b/community/bcc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adam Jensen <acjensen@gmail.com>
pkgname=bcc
pkgver=0.15.0
-pkgrel=0
+pkgrel=1
pkgdesc="A toolkit for creating efficient kernel tracing and manipulation programs"
url="https://github.com/iovisor/bcc/"
arch="all !s390x !mips !mips64" # build fails
@@ -59,6 +59,8 @@ _tools() {
mkdir -p "$subpkgdir"/usr/share/bcc
mv "$pkgdir"/usr/share/bcc/tools "$subpkgdir"/usr/share/bcc
mv "$pkgdir"/usr/share/bcc/introspection "$subpkgdir"/usr/share/bcc
+ find "$subpkgdir"/usr/share/bcc/tools -type f -exec \
+ sed -ie "s/^#!\/usr\/bin\/python$/#!\/usr\/bin\/python3/" \{\} \;
}
_py() {