[darcs-devel] [issue1128] bad temp filename in sendmail-command option

Ben Franksen bugs at darcs.net
Mon Oct 6 22:17:35 UTC 2008


New submission from Ben Franksen <benjamin.franksen at bessy.de>:

'darcs send --sendmail-command <cmd>' is supposed to replace %a in <cmd> with 
the name of the temporary file which contains the patch bundle. Indeed it 
creates such a temporary file, but reports a wrong name. Thorkil Naur kindly 
provided the shell script send-mail1.sh to verify what arguments the 
sendmail-command really gets. See attached file. To reproduce, call

darcs 
send --sendmail-command='./send-mail1.sh %s %t %c %b %f %a %S %t %C %B %F %A 
something %<'

and look at send-mail1.sh.out.

----------
files: send-mail1.sh
messages: 6252
nosy: bfr, dagit, dmitry.kurochkin, kowey, simon, thorkilnaur
priority: bug
status: unread
title: bad temp filename in sendmail-command option

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1128>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: send-mail1.sh
Type: application/x-shellscript
Size: 434 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20081006/68bd7bdc/attachment.bin 


More information about the darcs-devel mailing list