Subject: Re: Adding -t|--text-mode into the mk/bulk/build script
To: Juan RP <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 09/20/2005 11:04:04
On Tue, 20 Sep 2005, Juan RP wrote:
> Ok, latest patch attached.

+BUILDDATE=`date +%Y-%m-%d`
+if [ "$noemail" = "no" ]; then
+${PERL5} mk/bulk/post-build > ${FTP}/pkgsrc-results.txt | ${MAIL_CMD} -s

This looks like the email will be empty. The pipe will have nothing 
because already redirected to file.

Maybe use:

BUILDDATE=`date +%Y-%m-%d`
${PERL5} mk/bulk/post-build > ${FTP}/pkgsrc-results-${BUILDDATE}.txt
if [ "$noemail" = "no" ]; then
   ${MAIL_CMD} -s "pkgsrc ${OPSYS} ${OS_VERSION}/${MACHINE_ARCH} bulk build results $BUILDDATE" $ADMIN < ${FTP}/pkgsrc-results-${BUILDDATE}.txt

  Jeremy C. Reed

  	  	 	 technical support & remote administration