tools: Include post_build.log contents when successful

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2021-01-31 18:22:07 -05:00
parent a309ae36ac
commit 174254bbb1
No known key found for this signature in database
GPG key ID: 9C825A6605D40BBE

View file

@ -522,7 +522,7 @@ run_catalyst_commands() {
(date -d"${stamp}" +%s; echo "${stamp}") >"${last_success_file}"
fi
send_email "Catalyst build success" "Build process complete."
send_email "Catalyst build success" "Build process complete." "${TMPDIR}/log/post_build.log"
if [[ ${keep_tmpdir} == 0 ]]; then
if ! rm -rf "${TMPDIR}"; then