From b21d023829a7ecee442e47dc459530b1447b1a23 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 20 Aug 2011 11:41:10 +0100 Subject: [PATCH] autobuild: Only add last 100 lines of the log file. (cherry picked from commit ca727deac186981f4d9784696324c8f3af79f9e5) --- contrib/autobuild/autobuild.sh | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/contrib/autobuild/autobuild.sh b/contrib/autobuild/autobuild.sh index 6ec1bfc..c7b0fed 100755 --- a/contrib/autobuild/autobuild.sh +++ b/contrib/autobuild/autobuild.sh @@ -60,16 +60,25 @@ cd "$directory" # This function is called if any step fails. failed () { - mutt -s "$prefix libguestfs $version FAILED $1" "$mailto" -a ../build.log < ../build.log.tail + mutt -s "$prefix libguestfs $version FAILED $1" "$mailto" -a ../build.log.tail <