#!/bin/bash
#
# tinderbox-worker-svn.sh
# Built for a cronjob
#
# @daily /path/to/tinderbox-worker-svn.sh
#
# Please ensure that this Shellscript is
# executable

#export TINDERBOX_BUILD_ADMIN=your@e-mail-address.TLD

svn co https://nagios.svn.sourceforge.net/svnroot/nagios/nagioscore/trunk nagioscore

cd nagioscore
chmod u+x ./tools/tinderbox_build configure t/bin/* t-tap/test*.t
./tools/tinderbox_build -y
cd ..

rm -rf nagioscore/

