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

Ident file and grammar fix

This commit is contained in:
Kevin Puertas
2017-02-28 20:46:47 +01:00
parent 7fdafa89e7
commit 4dfb7ac4db

View File

@@ -14,7 +14,7 @@ else #Else, all other options
fi
if [ ! -z $gitopt ];then #No canceled
case $gitopt in
#Not staying in a git repo
#Options not in a git repo
"i")
gitdir=`dialog --stdout --inputbox "Repo directory" 10 60 "."`
if [ $(echo $gitdir | cut -f1 -d"/") = "~" ];then #~ don't understand like $HOME
@@ -41,14 +41,16 @@ else
fi
;;
"c")
giturl=`dialog --stdout --inputbox "URL del git" 10 60`
giturl=`dialog --stdout --inputbox "git URL: " 10 60`
if [ -z $giturl ];then
echo "No repository there."
echo "No URL specified."
exit
fi
git clone $giturl
;;
#Staying in a git repo
#Options of a git repo
"p")
git pull $actual;;
"s")