From 677e26786b5f67d411d90aa6efcebd30e26ec35c Mon Sep 17 00:00:00 2001 From: LAN-TW Date: Tue, 12 Nov 2013 01:14:04 +0800 Subject: bash_include: 將所有不必要的 == 替換成 = MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bash_include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_include b/bash_include index 2b9c63a..c233bf0 100644 --- a/bash_include +++ b/bash_include @@ -243,7 +243,7 @@ function bgrun () [ '!' -d "$bgrunfiledir" ] && createdir_askmode "$bgrunfiledir" 0750 local current_time=`date "+%Y%m%d-%H%M%S"` local cmdname=`echo "$1" | sed -e 's/-/_/g' -e 's/\\//_/g' -e 's/ /_/g'` - if [ "`echo "$cmdname" | cut -c 1`" == "_" ] + if [ "`echo "$cmdname" | cut -c 1`" = "_" ] then cmdname=`echo "$cmdname" | cut -c 2-` fi @@ -617,7 +617,7 @@ function split_arguments () local prefix_start=0 while [ "$1" ] do - if [ "$prefix_start" == "0" ] + if [ "$prefix_start" = "0" ] then if [ "$1" = "--" ] then -- cgit