Exit if snapshot creation fails
svn path=/trunk/; revision=572
This commit is contained in:
parent
77d67f9f11
commit
1199ff88ac
|
@ -2,6 +2,9 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Id$
|
||||
|
||||
04 Sep 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
|
||||
Exit if snapshot creation fails
|
||||
|
||||
04 Sep 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto,
|
||||
catalyst-auto-amd64.conf:
|
||||
Enable the build functionality
|
||||
|
|
|
@ -127,6 +127,7 @@ done
|
|||
# Create snapshot
|
||||
if ! run_cmd "catalyst -c ${CATALYST_CONFIG} -s ${DATESTAMP}" "${TMPDIR}/log/snapshot-${DATESTAMP}.log"; then
|
||||
send_email "Catalyst build error - snapshot" "$(tail -n 200 ${TMPDIR}/log/snapshot-${DATESTAMP}.log)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for i in ${SPECS}; do
|
||||
|
|
Loading…
Reference in a new issue