mps-rsync.ayarlandi

This commit is contained in:
milisman 2016-10-24 23:19:15 +03:00
parent 4dc0008f27
commit 9993cb3f29
1 changed files with 3 additions and 1 deletions

View File

@ -695,8 +695,10 @@ git_guncelle() {
cd milis.git cd milis.git
git pull git pull
fi fi
cd `dirname $talimatname_dizin`
ryaz 33 "yerele eşitleniyor." ryaz 33 "yerele eşitleniyor."
rm -r $talimatname_dizin/* rm -r $talimatname_dizin
mkdir -p $talimatname_dizin
rsync -aviz --delete $DERLEME_KAYNAKDIZIN/milis.git/talimatname/ $talimatname_dizin rsync -aviz --delete $DERLEME_KAYNAKDIZIN/milis.git/talimatname/ $talimatname_dizin
rm -r `dirname $talimatname_dizin`/bin/* rm -r `dirname $talimatname_dizin`/bin/*
rsync -aviz --delete $DERLEME_KAYNAKDIZIN/milis.git/bin/ `dirname $talimatname_dizin`/bin rsync -aviz --delete $DERLEME_KAYNAKDIZIN/milis.git/bin/ `dirname $talimatname_dizin`/bin