remove unnecessary bash-ism
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Wed, 2 Jun 2010 06:24:03 +0000 (08:24 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 2 Jun 2010 06:24:03 +0000 (08:24 +0200)
the following patch removes unnecesary dependency on bash.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio_generate_plots

index 4e2cb08e1045a75a83a8d5a88c7113a2a3153136..ff479a7d41f7f543b102bd5522db9eec2c8171f3 100755 (executable)
@@ -1,8 +1,8 @@
-#!/bin/bash
+#! /bin/sh
 
 # Use gnuplot to generate plots from fio run with -l and/or -w
 
 
 # Use gnuplot to generate plots from fio run with -l and/or -w
 
-if [ "$1"x == "x" ]; then
+if [ "$1"x = "x" ]; then
        echo Need title as arg
        exit 1
 fi
        echo Need title as arg
        exit 1
 fi