#!/bin/sh export TOPDIR=$(dirname $0) . $TOPDIR/settings.sh . $TOPDIR/common.sh PUBDIRJIG=$1 OUTDIR=$2 ARCH=$3 RESULTS=$4 OUTFILE=$OUTDIR/$ARCH/HEADER.html INLOGS="/org/cdbuilder.debian.org/dst/deb-cd/log" OUTLOGS="build-logs/$DATE" grep -q WARNING $OUTFILE if [ $? -ne 0 ] ; then echo >> $OUTFILE echo "
WARNING:" >> $OUTFILE echo "This build is not up to date; it is the most recent successful build.
" >> $OUTFILE echo >> $OUTFILE echo "Later weekly builds failed with errors:
" >> $OUTFILE fi mkdir -p $OUTDIR/$ARCH/log/$DATE cp $PUBDIRJIG/$ARCH/*.log $OUTDIR/$ARCH/log/$DATE echo "