mpsd-git_branch

This commit is contained in:
milisbir 2018-04-03 23:34:55 +03:00
parent a4ff66d569
commit f08629b1b9
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ git_indir(){
echo "git repo ismi tanımlı değil"
fi
#branch kontrolü
_branch=echo "${_gitadres}" |sed 's/#branch=/\n/g' | sed -n 2p
_branch=`echo "${_gitadres}" |sed 's/#branch=/\n/g' | sed -n 2p`
[ ! -z ${_branch} ] && _branch="-b ${_branch}"
if [ ! -d $DERLEME_KAYNAKDIZIN/${_isim} ];then
git clone ${_branch} ${_gitadres} $DERLEME_KAYNAKDIZIN/${_isim}