In message <[EMAIL PROTECTED]>
Julian Seward <[EMAIL PROTECTED]> wrote:
>> My machines actually check the script out of the repository each
>> night, so just updating the repository to run both would fix my
>> machines.
>
> That's neat. So the top level cron command runs some other little
> script which does the checkout? Can you send the script?
Attached.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
#!/bin/sh
ADDRESS="valgrind-developers@lists.sourceforge.net"
VGDIR="/tmp/vgtest/$(date +%Y-%m-%d)"
HOST=`hostname -s`
ARCH=`uname -m`
OS=`sed -r -e 's/( Linux)? release//' -e 's/ *\([a-zA-Z]*\)$//'
/etc/redhat-release`
PATH=/usr/bin:$PATH; export PATH
mkdir -p `dirname $VGDIR`
cd `dirname $VGDIR`
svn co svn://svn.valgrind.org/valgrind/trunk/nightly `basename $VGDIR` 2>&1 >>
log.verbose
echo "export ABT_DETAILS=\"${ARCH}, ${OS}\"" > $VGDIR/conf/$HOST.conf
echo "mail -s \"\$1\" $ADDRESS < \$2" > $VGDIR/conf/$HOST.sendmail
chmod a+x $VGDIR/conf/$HOST.sendmail
$VGDIR/bin/nightly $VGDIR $HOST > /dev/null 2>&1
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers