summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2018-11-18 11:10:04 +0000
committerJustin Lecher <jlec@gentoo.org>2018-11-18 11:20:35 +0000
commita257dba8d22cc450b5f1535f19bf733088f8b546 (patch)
tree160d5cf4156e6233de60b77c2abb189957ed2a77 /sys-block
parentmedia-fonts/noto-emoji: Drop old (diff)
downloadgentoo-a257dba8d22cc450b5f1535f19bf733088f8b546.tar.gz
gentoo-a257dba8d22cc450b5f1535f19bf733088f8b546.tar.bz2
gentoo-a257dba8d22cc450b5f1535f19bf733088f8b546.zip
sys-block/fio: Fix shebang before replicating script
Closes: https://bugs.gentoo.org/659556 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/fio/fio-3.7.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-block/fio/fio-3.7.ebuild b/sys-block/fio/fio-3.7.ebuild
index dd2a2649eca2..b1d447a9098e 100644
--- a/sys-block/fio/fio-3.7.ebuild
+++ b/sys-block/fio/fio-3.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -87,6 +87,10 @@ src_install() {
emake install DESTDIR="${D}" prefix="${EPREFIX}/usr" mandir="${EPREFIX}/usr/share/man"
if use gnuplot ; then
+ sed -i 's:python2.7:python:g' \
+ "${ED}/usr/bin/fio2gnuplot" \
+ "${ED}/usr/bin/fiologparser_hist.py" \
+ "${ED}/usr/bin/fiologparser.py"
python_replicate_script \
"${ED}/usr/bin/fio2gnuplot" \
"${ED}/usr/bin/fiologparser_hist.py" \