Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2013-09-04 06:19:29 +0400
committerBryan Drewery <bryan@shatow.net>2013-09-04 06:19:29 +0400
commit89ad7bc7ab8e15154398665d0bf833a0d971c836 (patch)
treee6b2d8187925781b9f8e46746f4bf9fe42223869 /src/etc
parent087e6f10294a65ac0e33175805b1bb9f7178e83f (diff)
Pass -t to sendmail so that the 'To:' is read from the body
Diffstat (limited to 'src/etc')
-rwxr-xr-xsrc/etc/poudriere.d/hooks/pkgbuild.sh.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/poudriere.d/hooks/pkgbuild.sh.sample b/src/etc/poudriere.d/hooks/pkgbuild.sh.sample
index 9884d134..9bb0862d 100755
--- a/src/etc/poudriere.d/hooks/pkgbuild.sh.sample
+++ b/src/etc/poudriere.d/hooks/pkgbuild.sh.sample
@@ -31,7 +31,7 @@ if [ "$status" = "failed" ]; then
awk_script="NR < ${HEADER_LINES} || NR > $((${log_lines} - ${FOOTER_LINES})); NR == ${HEADER_LINES} { print \"<snip>\" }"
fi
- sendmail -f ${EMAIL_FROM} ${EMAIL_TO} << EOF
+ sendmail -f ${EMAIL_FROM} -t << EOF
To: ${EMAIL_TO}
Subject: ${mail_subject}