3 # Usually cron setups a really miserable environment, this script
5 # 1. Setup a good environment for auto_compile.
6 # 2. Invoke auto_compile with the proper arguments for each site.
8 # The idea is to modify this script on a per-site basis and leave
9 # auto_compile unmodified.
12 # Setup a proper path, remember that cvs, GNU make, perl5 and your
13 # compiler must be there.
14 PATH
=.
:$HOME/bin
:/pkg
/gnu
/bin
:/opt
/SUNWspro
/bin
:$PATH
18 CVSROOT
=/project
/cvs-repository
21 # It could be a good idea to set CVSREAD this will make the staging
22 # area read-only, but our staging areas are public.
26 # Here we define the cvs working copy for our staging area.
29 # In some sites the building directory differs from the cvs working
30 # copy. The directory is updated running
31 # $ACE_ROOT/bin/create_ace_build; but it must be setup manually the
33 # TODO: Arrange for automatic creation of platform_macros.GNU &
37 # Here is where we store auto_compile output and keep a history of
39 LOGDIR
=$HOME/head
/ACE_wrappers
/build
/$BUILD/auto_compile
41 # Who do we send email when compilation (or anything else) fails.
42 ADMIN
=PUT_YOUR_ADDRESS_HERE
; echo "You must edit this file" ; exit 0
44 # You must select a mail tool that can understand the -s option such
47 # /usr/bin/mailx Solaris
48 # /usr/bin/mailx HP-UX
49 # /usr/sbin/mailx IRIX
52 exec /pkg
/gnu
/bin
/perl
$CHECKOUT/ACE_wrappers
/bin
/auto_compile \
53 $CHECKOUT $BUILD $LOGDIR $ADMIN /usr
/bin
/mailx