diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2013-07-31 20:31:05 +0400 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2013-07-31 20:31:05 +0400 |
commit | a912689f17f0d541f7bb81fb56935c23c455fc12 (patch) | |
tree | 0e9e79698b54de69bae2267af166627729c6adce /src/etc | |
parent | f460707e2d9bbe9acaaa413fb300febc2bb2d766 (diff) |
Print FOOTER_LINES in the footer
Diffstat (limited to 'src/etc')
-rwxr-xr-x | src/etc/poudriere.d/hooks/pkgbuild.sh.sample | 2 |
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 |