Enable the build functionality

svn path=/trunk/; revision=570
This commit is contained in:
Andrew Gaffney 2008-09-04 02:25:34 +00:00
parent 85eeacd8cd
commit 10dbf767ff
3 changed files with 11 additions and 17 deletions

View file

@ -37,10 +37,9 @@ run_cmd() {
if [ $verbose = 1 ]; then
echo "*** Running command: ${cmd}"
# ${cmd} 2>&1 | tee ${logfile}
${cmd} 2>&1 | tee ${logfile}
else
# ${cmd} &> ${logfile}
a=1
${cmd} &> ${logfile}
fi
}
@ -78,15 +77,6 @@ fi
source ${config_file}
#if [ -z "${snapshot}" ]; then
# snapshot=`date +%Y%m%d`
# run_cmd "catalyst -c ${config} -s '${snapshot}'" "/tmp/catalyst_build_snapshot.${PID}.log"
# if [ $? != 0 ]; then
# send_email "Catalyst build error - snapshot" "$(</tmp/catalyst_build_snapshot.${PID}.log)"
# exit 1
# fi
#fi
TMPDIR=/tmp/catalyst-auto.${PID}
DATESTAMP=$(date +%Y%m%d)