Commit 43d24155 authored by Naveen N. Rao's avatar Naveen N. Rao
Browse files

community/bcc: use python3 as the interpreter for bcc-tools

Update tools to use /usr/bin/python3 as the interpreter.
parent 886b5617
Pipeline #24883 passed with stages
in 4 minutes and 47 seconds
# 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() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment