mps-birden_fazla_talimat

This commit is contained in:
milisbir 2017-10-06 05:09:43 +03:00
parent ea88d0638e
commit 3f4883ffff
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ talimat_bul(){
while IFS= read -r -d $'\0'; do while IFS= read -r -d $'\0'; do
_bulunan+=("$REPLY") _bulunan+=("$REPLY")
done < <(find $talimatname $ektalimatname -name ${_apaket} -print0) done < <(find $talimatname $ektalimatname -name ${_apaket} -print0)
if [ ${#_bulunan[@]} > 1 ];then echo "$(date +'%F %T') ${_apaket} $_talimat_sayisi_fazla" >> $LOGDIZIN/mps-hata.log;fi if [ ${#_bulunan[@]} -gt 1 ];then echo "$(date +'%F %T') ${_apaket} $_talimat_sayisi_fazla" >> $LOGDIZIN/mps-hata.log;fi
if [ ${_bulunan[0]} ] ; then if [ ${_bulunan[0]} ] ; then
if [ -f "${_bulunan[0]}/talimat" ];then if [ -f "${_bulunan[0]}/talimat" ];then
echo "${_bulunan[0]}" echo "${_bulunan[0]}"