1
0
mirror of https://gitlab.com/JKANetwork/jka-toolkit.git synced 2026-02-14 17:11:32 +01:00

Repair line 87 ( before =s, now == )

This commit is contained in:
JoseluCross
2016-07-01 19:55:30 +02:00
parent c6e9506edf
commit 8b1484a6d3

View File

@@ -2,7 +2,7 @@
# gitdit, a dialog interface to manage git repositories
# Author: JKA Network - contacto@jkanetwork.com
VERSION="1.0.0"
VERSION="1.0.1"
#First check if the user is in a git repository
preOption=$(git status 2>/dev/stdout | sed -n 1p | cut -f2 -d" ")
if [ $preOption = "Not" ];then #When it isn't only it can do git clone
@@ -84,7 +84,7 @@ if [ ! -z $gitopt ];then #No canceled
error=0 #If 1 aux is yet in lista array
for (( i=0;i<${#lista[@]} && error==0;i++ ))
do
if [ $aux =s ${lista[$i]} -o $aux = $actual2 ];then
if [ $aux == ${lista[$i]} -o $aux = $actual2 ];then
error=1
fi
done