Print this page
fio needs to not hardwire python2.6
| Split |
Close |
| Expand all |
| Collapse all |
--- old/build/fio/patches/fio2gnuplot.patch
+++ new/build/fio/patches/fio2gnuplot.patch
1 1 diff -bur fio-2.1.10.pristine/tools/plot/fio2gnuplot fio-2.1.10/tools/plot/fio2gnuplot
2 2 --- fio-2.1.10.pristine/tools/plot/fio2gnuplot 2014-06-10 15:18:38.000000000 -0400
3 3 +++ fio-2.1.10/tools/plot/fio2gnuplot 2014-07-29 13:02:35.000000000 -0400
4 4 @@ -1,4 +1,4 @@
5 5 -#!/usr/bin/env python
6 -+#!/usr/bin/python2.6
6 ++#!/usr/bin/python
7 7 #
8 8 # Copyright (C) 2013 eNovance SAS <licensing@enovance.com>
9 9 # Author: Erwan Velu <erwan@enovance.com>
10 10 @@ -401,9 +401,9 @@
11 11 force_keep_temp_files=False
12 12
13 13 if not os.path.isfile(gpm_dir+'math.gpm'):
14 14 - gpm_dir="/usr/local/share/fio/"
15 15 + gpm_dir="/usr/share/fio/"
16 16 if not os.path.isfile(gpm_dir+'math.gpm'):
17 17 - print "Looks like fio didn't get installed properly as no gpm files found in '/usr/share/fio' or '/usr/local/share/fio'\n"
18 18 + print "Looks like fio didn't get installed properly as no gpm files found in '/usr/share/fio'\n"
19 19 sys.exit(3)
20 20
21 21 try:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX