|
From: Nicholas N. <n.n...@gm...> - 2009-01-07 06:23:03
|
Hi, I just committed some improvements to the 'nightly' script. All the .diff files are now concatenated into a single file (files longer than 100 lines are truncated). The name of this file is passed to the conf/<tag>.sendmail script as a 3rd argument. Installations of the script don't need to use that 3rd arg, but the obvious thing to do is to attach the file containing the diffs. AFAICT the easiest way to do this is to install 'mutt' and use the -a option to add an attachment. I didn't zip the diffs file, because I think it may usually be small enough to not bother, and not zipping it makes it easier to read. I could have put the diffs in a tar file instead. If anyone has a strong preference for that I could do so. Also, since the diffs file is currently not zipped, it would also be easy to append the diffs to the body of the email and get rid of the 3rd argument. Opinions are welcome on that as well. ---- On a related topic, the 'nightly' script uses the 'source' command to source another file. This is fine on bash, tcsh, csh, zsh. But sh, dash and ksh use '.'. One possibility is to change the script to use #!/bin/bash instead of #!/bin/sh -- Bart, would that be ok for your Georgia tech machines that use tcsh? Or is there another way to do this? Nick |