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:
authorAntoine Brodin <antoine@FreeBSD.org>2013-07-31 20:31:05 +0400
committerAntoine Brodin <antoine@FreeBSD.org>2013-07-31 20:31:05 +0400
commita912689f17f0d541f7bb81fb56935c23c455fc12 (patch)
tree0e9e79698b54de69bae2267af166627729c6adce /src/etc
parentf460707e2d9bbe9acaaa413fb300febc2bb2d766 (diff)
Print FOOTER_LINES in the footer
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 c8fb164e..9884d134 100755
--- a/src/etc/poudriere.d/hooks/pkgbuild.sh.sample
+++ b/src/etc/poudriere.d/hooks/pkgbuild.sh.sample
@@ -28,7 +28,7 @@ if [ "$status" = "failed" ]; then
awk_script='{print $0}'
else
# Trim out the middle of the log
- awk_script="NR < ${HEADER_LINES} || NR > $((${log_lines} - ${FOOTER_LINES} + ${HEADER_LINES})); NR == ${HEADER_LINES} { print \"<snip>\" }"
+ awk_script="NR < ${HEADER_LINES} || NR > $((${log_lines} - ${FOOTER_LINES})); NR == ${HEADER_LINES} { print \"<snip>\" }"
fi
sendmail -f ${EMAIL_FROM} ${EMAIL_TO} << EOF