aboutsummaryrefslogtreecommitdiffstats
path: root/bash_include
diff options
context:
space:
mode:
authorLAN-TW <lantw44@gmail.com>2013-11-12 01:14:04 +0800
committerLAN-TW <lantw44@gmail.com>2013-11-12 01:14:04 +0800
commit677e26786b5f67d411d90aa6efcebd30e26ec35c (patch)
treebcb533f33a14723843782b722ecbcda797a65f2b /bash_include
parent4b2d32e6cacca93f68fdfd60f7ce531611d1c97f (diff)
downloadconfigfile-677e26786b5f67d411d90aa6efcebd30e26ec35c.tar
configfile-677e26786b5f67d411d90aa6efcebd30e26ec35c.tar.gz
configfile-677e26786b5f67d411d90aa6efcebd30e26ec35c.tar.bz2
configfile-677e26786b5f67d411d90aa6efcebd30e26ec35c.tar.lz
configfile-677e26786b5f67d411d90aa6efcebd30e26ec35c.tar.xz
configfile-677e26786b5f67d411d90aa6efcebd30e26ec35c.tar.zst
configfile-677e26786b5f67d411d90aa6efcebd30e26ec35c.zip
bash_include: 將所有不必要的 == 替換成 =bash_include-20131111
Diffstat (limited to 'bash_include')
-rw-r--r--bash_include4
1 files 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