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
|
@ -94,11 +94,6 @@ source ${config_file}
|
|||
TMPDIR=/tmp/catalyst-auto.${PID}
|
||||
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
|
||||
echo "TMPDIR = ${TMPDIR}"
|
||||
echo "DATESTAMP = ${DATESTAMP}"
|
||||
|
@ -119,6 +114,11 @@ for i in ${TMPDIR} ${TMPDIR}/specs ${TMPDIR}/kconfig ${TMPDIR}/log; do
|
|||
fi
|
||||
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}
|
||||
|
||||
for i in ${SPECS}; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue