[devel] ðÒÉÔÉÒËÁ ÐÁÔÞÅÊ

Alexey I. Froloff =?iso-8859-1?q?raorn_=CE=C1_immo=2Eru?=
ðÔ ïËÔ 7 09:46:43 MSD 2005


* Andrey Rahmatullin <wrar-alt@> [051006 21:59]:
> çÏÓÐÏÄÁ, ËÔÏ ÞÅÍ ÐÏÌØÚÕÅÔÓÑ ÄÌÑ ÐÏÄÇÏÎËÉ ÐÁÔÞÅÊ Ë ÉÚÍÅÎÅÎÎÙÍ ÉÓÈÏÄÎÉËÁÍ?
ñ ÄÌÑ ÐÏÄÇÏÎËÉ mutt'Ï×ÓËÉÈ ÐÁÔÞÅÊ ÐÏÌØÚÕÀÓØ ÐÒÉÍÅÒÎÏ ÔÁËÉÍ ÐÏÄÅÌÉÅÍ:

===
#!/bin/sh

src_off="$1"
src_patch="$2"
dst_patch="$3"
tree="$4"

rm -rf "$tree-orig"
:>"$tree/PATCHES"
cp -a "$tree" "$tree-orig"

pushd "$tree"
patch -p$src_off < "$src_patch"
find . -name '*.rej' | while read f; do
  r=${f%.rej}
  if [ -f "$f" -a -f "$r" ]; then
    gvim "$r"
    gvim "$f"
  fi
done
echo
echo `basename $src_patch`
$SHELL
find . -name '*.orig' -delete
find . -name '*.rej' -delete
popd
diff -Naurp "$tree-orig" "$tree" > "$dst_patch"
sleep 1
===

./mkpatch 0 ../../files/patch-a.b.c.xxx ../files/patch-d.e.f.xxx mutt-d.e.f

é ÔÁË ÄÁÌÅÅ...

-- 
Regards, Sir Raorn.
-------------------
é × ÓÌÅÄÕÀÝÉÊ ÒÁÚ ÎÅ ÂÕÄÕ Õ ÖÉ×ÏÇÏ ÑÄÒÁ, ÄÁ ÅÝ£ ÅÄÉÎÓÔ×ÅÎÎÏÇÏ,
apt-get install --reinstall ÄÅÌÁÔØ.
		-- seriv in sisyphus@
----------- ÓÌÅÄÕÀÝÁÑ ÞÁÓÔØ -----------
âÙÌÏ ÕÄÁÌÅÎÏ ×ÌÏÖÅÎÉÅ ÎÅ × ÔÅËÓÔÏ×ÏÍ ÆÏÒÍÁÔÅ...
éÍÑ     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
ôÉÐ     : application/pgp-signature
òÁÚÍÅÒ  : 189 ÂÁÊÔÏ×
ïÐÉÓÁÎÉÅ: Digital signature
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20051007/8b481eed/attachment-0001.bin>


ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ Devel