Including build-job in the mail that is sent by the cgi.

This commit is contained in:
Daniel Baumann 2010-06-21 22:52:10 +02:00
parent ee10be59d2
commit 541824a8c4
1 changed files with 10 additions and 0 deletions

View File

@ -118,6 +118,16 @@ then
-e "s#SERVER#${_SERVER}#" \ -e "s#SERVER#${_SERVER}#" \
"${_TEMPLATES}"/mail.txt > "${_DESTDIR}"/"${_BUILD}"/mail "${_TEMPLATES}"/mail.txt > "${_DESTDIR}"/"${_BUILD}"/mail
cat >> "${_DESTDIR}"/"${_BUILD}"/mail << EOF
---
Here's a list of all build-options that were used to build your image:
EOF
cat "${_DESTDIR}"/"${_BUILD}"/build >> "${_DESTDIR}"/"${_BUILD}"/mail
# Moving binary image # Moving binary image
#if ls "${_TEMPDIR}"/"${_BUILD}"/binary*.* > /dev/null 2>&1 #if ls "${_TEMPDIR}"/"${_BUILD}"/binary*.* > /dev/null 2>&1
if Find_files ${_TEMPDIR}/${_BUILD}/binary*.* if Find_files ${_TEMPDIR}/${_BUILD}/binary*.*