X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=4e9dc64df87a2b9f4af8d41723e144e6f0b373f2;hb=57f0d69080cef7811a1eb3d4020b22e548be5dbf;hp=19f1e40668bab1c08e81f6a9230927ff57e7e928;hpb=993184c94674013a6169b77a3611c3e664483b17;p=org.ibex.core.git diff --git a/Makefile b/Makefile index 19f1e40..4e9dc64 100644 --- a/Makefile +++ b/Makefile @@ -260,9 +260,9 @@ dist: compile propose-patch: @darcs push --and-apply --edit-description -o .darcspatch -T patches@xwt.org http://darcs.ibex.org/ibex/ @(echo "To: patches@xwt.org";\ - SUB=`grep -A2 New.patches .darcspatch | tail -n 1 | cut -b 2-`;\ + SUB=`grep -A10000 New.patches .darcspatch | grep '^\\[' | cut -b 2- | tr \\\n , | sed s_,_,\ _g | sed "s_, *\\$$__"`;\ echo "Subject: $$SUB";\ echo;\ - cat .darcspatch) | cat > /tmp/foo #/usr/sbin/sendmail -bm -f $(USER)@xwt.org patches@xwt.org; + cat .darcspatch) | /usr/sbin/sendmail -bm -f $(USER)@xwt.org patches@xwt.org; @rm .darcspatch