#! /bin/sh
#=======================================================================
# Because Sun Solaris cron generates errors for plus signs in a command
# line, even when they are protected by single quotes, or prefixed by
# backslash, it is necessary to hide the invocation of make inside this
# script, so that time-stamped logs can be produced for each run.
# 
# Usage:
#	/u/ftp/pub/ftp-make.sh
#
# [12-Feb-2000] -- add /usr/local/bin to PATH
# [11-Feb-2000]
#=======================================================================

cd /u/ftp/pub

# We need /usr/ccs/bin for Sun make, and /usr/local/bin for html-check 
# and sgmls:
PATH=$PATH:/usr/ccs/bin:/usr/local/bin
export PATH

test ! -d /var/tmp/ftp-make && mkdir /var/tmp/ftp-make

make > /var/tmp/ftp-make/ftp-make.log.`date +%Y.%m.%d.%H.%M.%S` 2>&1 
