From f08629b1b9ba8070fca9d4d142ab163482e911e2 Mon Sep 17 00:00:00 2001 From: milisbir Date: Tue, 3 Apr 2018 23:34:55 +0300 Subject: [PATCH] mpsd-git_branch --- bin/mpsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mpsd b/bin/mpsd index 2657b3cb0..03047469c 100755 --- a/bin/mpsd +++ b/bin/mpsd @@ -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}