remove unnecessary bash-ism.

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

 



hi,

the following patch removes unnecesary dependency on bash.

YAMAMOTO Takashi


Signed-off-by: YAMAMOTO Takashi <yamamoto@xxxxxxxxxxxxx>

commit 222755aba83cad83947afd3b1cae043e887f4db0
Author: YAMAMOTO Takashi <yamamoto@xxxxxxxxxxxxx>
Date:   Fri May 28 19:51:47 2010 +0900

    remove bashism.

diff --git a/fio_generate_plots b/fio_generate_plots
index 4e2cb08..ff479a7 100755
--- a/fio_generate_plots
+++ b/fio_generate_plots
@@ -1,8 +1,8 @@
-#!/bin/bash
+#! /bin/sh
 
 # 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
--
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