From: Justin Lecher Date: Sun, 18 Nov 2018 11:10:04 +0000 (+0000) Subject: sys-block/fio: Fix shebang before replicating script X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a257dba8d22cc450b5f1535f19bf733088f8b546;p=gentoo.git 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 --- 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" \