Move pre_build() call after creation of dirs
svn path=/trunk/; revision=576
This commit is contained in:
parent
4333ff11e4
commit
46d164baab
2 changed files with 8 additions and 5 deletions
|
@ -2,6 +2,9 @@
|
||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
|
28 Sep 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
|
||||||
|
Move pre_build() call after creation of dirs
|
||||||
|
|
||||||
28 Sep 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
|
28 Sep 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
|
||||||
Add pre_build() and post_build() support
|
Add pre_build() and post_build() support
|
||||||
|
|
||||||
|
|
|
@ -94,11 +94,6 @@ source ${config_file}
|
||||||
TMPDIR=/tmp/catalyst-auto.${PID}
|
TMPDIR=/tmp/catalyst-auto.${PID}
|
||||||
DATESTAMP=$(date +%Y%m%d)
|
DATESTAMP=$(date +%Y%m%d)
|
||||||
|
|
||||||
if ! run_cmd "pre_build" "${TMPDIR}/log/pre_build.log"; then
|
|
||||||
send_email "Catalyst build error - pre_build" "$(echo -e "Your pre_build function sucks\n\n"; tail -n 200 "${TMPDIR}/log/pre_build.log")"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ${verbose} = 1 ]; then
|
if [ ${verbose} = 1 ]; then
|
||||||
echo "TMPDIR = ${TMPDIR}"
|
echo "TMPDIR = ${TMPDIR}"
|
||||||
echo "DATESTAMP = ${DATESTAMP}"
|
echo "DATESTAMP = ${DATESTAMP}"
|
||||||
|
@ -119,6 +114,11 @@ for i in ${TMPDIR} ${TMPDIR}/specs ${TMPDIR}/kconfig ${TMPDIR}/log; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if ! run_cmd "pre_build" "${TMPDIR}/log/pre_build.log"; then
|
||||||
|
send_email "Catalyst build error - pre_build" "$(echo -e "Your pre_build function sucks\n\n"; tail -n 200 "${TMPDIR}/log/pre_build.log")"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
cd ${SPECS_DIR}
|
cd ${SPECS_DIR}
|
||||||
|
|
||||||
for i in ${SPECS}; do
|
for i in ${SPECS}; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue