From: Richard W.M. Jones Date: Sat, 20 Aug 2011 10:41:10 +0000 (+0100) Subject: autobuild: Only add last 100 lines of the log file. X-Git-Tag: 1.12.5~25 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=b21d023829a7ecee442e47dc459530b1447b1a23;p=libguestfs.git autobuild: Only add last 100 lines of the log file. (cherry picked from commit ca727deac186981f4d9784696324c8f3af79f9e5) --- 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 <