summaryrefslogtreecommitdiff
path: root/CVSROOT
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2004-05-07 12:37:08 +0000
committerBjörn Stenberg <bjorn@haxx.se>2004-05-07 12:37:08 +0000
commit1e0cb1f76bbdd38fd46db10b8647c95bf3502900 (patch)
tree3fcdddfb23b89897e3bb57c5cebeed47a319d8f3 /CVSROOT
parente7970015793244c06ef1fc4ec24b46fd78225c72 (diff)
Experimenting with USER
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4589 a1c6a512-1295-4272-9138-f99709370657
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.'