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