mps.otokurliste.eklenti

This commit is contained in:
mahmutov 2016-08-04 07:15:54 +00:00
parent d5da5d3e5e
commit a90bb34bba
1 changed files with 9 additions and 2 deletions

11
bin/mps
View File

@ -234,13 +234,20 @@ paket_derle_kur(){
} }
paket_kur_oto(){ paket_kur_oto(){
local kpkt pkt pak local kpkt pkt pak kliste
for kpkt in `cat $1`;do if [ "$1" = "-H" ];then
ls *.mps.lz > "otokur.list"
kliste="otokur.list"
else
kliste="$1"
fi
for kpkt in `cat $kliste`;do
for pkt in `ls $kpkt* | cut -d'#' -f1`;do for pkt in `ls $kpkt* | cut -d'#' -f1`;do
pak=`ls "$pkt#"*` pak=`ls "$pkt#"*`
mps -k "$pak" mps -k "$pak"
done done
done done
rm -rf otokur.list
} }
paket_kur_oto_zorla(){ paket_kur_oto_zorla(){