commit:     a257dba8d22cc450b5f1535f19bf733088f8b546
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 18 11:10:04 2018 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Nov 18 11:20:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a257dba8

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 <AT> gentoo.org>

 sys-block/fio/fio-3.7.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-block/fio/fio-3.7.ebuild b/sys-block/fio/fio-3.7.ebuild
index dd2a2649eca..b1d447a9098 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" \

Reply via email to