summaryrefslogtreecommitdiffstats
path: root/tools/mailchangelog.pl
blob: 428cdc2515cf90024964c98dddcb5ab6b27c8b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl

open F, '|/usr/sbin/sendmail -oi -t';

chomp($ver = <STDIN>);

print F 
q(Subject: [DrakX] DrakX snapshot #), $ver, q( uploaded
From: DrakX Builder Robot <devel@mandriva.com>
To: changelog@linux-mandrake.com
Reply-To: install@mandriva.com

);
print F foreach <STDIN>;