aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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