From 4093d8e3e1be63c68adba9788799e6f8fee4345d Mon Sep 17 00:00:00 2001 From: milisbir Date: Sat, 30 Sep 2017 19:35:58 +0300 Subject: [PATCH] mps --- bin/mps | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bin/mps b/bin/mps index 5fd5b9dc5..68743959b 100755 --- a/bin/mps +++ b/bin/mps @@ -952,12 +952,10 @@ paket_derle(){ konum="$1" derpaket=`basename $1` else - sonuc="`find "$talimatname" -name $1`" - eksonuc="`find "$ektalimatname" -name $1`" - if [ -f "$sonuc/talimat" ];then - konum=$sonuc - elif [ -f "$eksonuc/talimat" ];then - konum=$eksonuc + konum=$(talimat_bul $1) + if [[ $konum == "-1" || $konum == "0" ]];then + ryaz 31 "$1 $_talimat_bulunamadi" + exit 1 fi derpaket="$1" fi