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.13.7~15 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=ca727deac186981f4d9784696324c8f3af79f9e5;p=libguestfs.git autobuild: Only add last 100 lines of the log file. --- 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 <