#!/bin/sh

. /etc/profile
HOME=/export/home/nitemc
PERL=/local/perl586/bin/perl
TMPDIR=/tmpfs

export HOME PERL TMPDIR

# attempt to ensure the "build" dir and raw .corpus file is up to date
# (don't worry about tags etc. just yet)
(
  cd /export/home/nitemc
  rm -rf svn
  svn co http://svn.apache.org/repos/asf/spamassassin/trunk svn ||
    svn co http://svn.apache.org/repos/asf/spamassassin/trunk svn ||
    svn co http://svn.apache.org/repos/asf/spamassassin/trunk svn

) < /dev/null

