Subject: Re: Adding -t|--text-mode into the mk/bulk/build script
To: Jeremy C. Reed <reed@reedmedia.net>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 09/20/2005 20:09:25
On Tue, 20 Sep 2005 11:04:04 -0700 (PDT)
"Jeremy C. Reed" <reed@reedmedia.net> wrote:

> 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 fi

Ah right, done :-)