Recent changes (master)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit 334185e9e18c36b13c713ccdbb65e7ebd84795db:

  server: ensure that fio_time_init() is called before option parsing (2013-11-01 12:32:40 -0600)

are available in the git repository at:
  git://git.kernel.dk/fio.git master

Bruce Cran (2):
      Use #!/usr/bin/env to allow for interpreters in different directories.
      Fix a couple of typos in fio2gnuplot.

 tools/genfio           |    2 +-
 tools/plot/fio2gnuplot |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

---

Diff of recent changes:

diff --git a/tools/genfio b/tools/genfio
index 11cf9a4..4d32d13 100755
--- a/tools/genfio
+++ b/tools/genfio
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 #  Copyright (C) 2013 eNovance SAS <licensing@xxxxxxxxxxxx>
 #  Author: Erwan Velu  <erwan@xxxxxxxxxxxx>
diff --git a/tools/plot/fio2gnuplot b/tools/plot/fio2gnuplot
index f1e6a98..2d64a6e 100755
--- a/tools/plot/fio2gnuplot
+++ b/tools/plot/fio2gnuplot
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 #  Copyright (C) 2013 eNovance SAS <licensing@xxxxxxxxxxxx>
 #  Author: Erwan Velu  <erwan@xxxxxxxxxxxx>
@@ -403,13 +403,13 @@ def main(argv):
     if not os.path.isfile(gpm_dir+'math.gpm'):
 	    gpm_dir="/usr/local/share/fio/"
     	    if not os.path.isfile(gpm_dir+'math.gpm'):
-		    print "Looks like fio didn't got installed properly as no gpm files found in '/usr/share/fio' or '/usr/local/share/fio'\n"
+		    print "Looks like fio didn't get installed properly as no gpm files found in '/usr/share/fio' or '/usr/local/share/fio'\n"
 		    sys.exit(3)
 
     try:
 	    opts, args = getopt.getopt(argv[1:],"ghkbivo:d:t:p:G:m:M:",['bandwidth', 'iops', 'pattern', 'outputfile', 'outputdir', 'title', 'min_time', 'max_time', 'gnuplot', 'Global', 'help', 'verbose','keep'])
     except getopt.GetoptError:
-	 print "Error: One of the option passed to the cmdline was not supported"
+	 print "Error: One of the options passed to the cmdline was not supported"
 	 print "Please fix your command line or read the help (-h option)"
          sys.exit(2)
 
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux