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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user