summaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/syncmail9
1 files changed, 4 insertions, 5 deletions
diff --git a/CVSROOT/syncmail b/CVSROOT/syncmail
index 3b4d19dc56..a03c98a913 100755
--- a/CVSROOT/syncmail
+++ b/CVSROOT/syncmail
@@ -71,7 +71,7 @@ import time
import getopt
# Notification command
-MAILCMD = '/bin/mail -s "cvs: %(SUBJECT)s" %(PEOPLE)s 2>&1 > /dev/null'
+MAILCMD = '/bin/mail -s "%(username): %(SUBJECT)s" %(PEOPLE)s 2>&1 > /dev/null'
# Diff trimming stuff
DIFF_HEAD_LINES = 20
@@ -164,7 +164,7 @@ def main():
except getopt.error, msg:
usage(1, msg)
- username = 'apa'
+ username = 'unknown'
# parse the options
for opt, arg in opts:
@@ -205,9 +205,8 @@ def main():
return
if specs[-3:] == ['-', 'New', 'directory']:
del specs[-3:]
- print username
- print 'generating notification message...'
- # blast_mail(mailcmd, specs[1:], contextlines)
+ print 'Generating notification message...'
+ blast_mail(mailcmd, specs[1:], contextlines)
print 'Generating notification message... done.'