diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-07-14 09:18:48 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-07-14 09:18:48 +0000 |
commit | c17d1fc9956f5bfb4d86065e60ea9a30ad1fc864 (patch) | |
tree | 076a719d597557d48388698e7a8af96be33be91a /Tools | |
parent | b0f3d5ad1ed63f4f631cb62b030d2449c3bf595d (diff) | |
download | ports-c17d1fc9956f5bfb4d86065e60ea9a30ad1fc864.tar.gz ports-c17d1fc9956f5bfb4d86065e60ea9a30ad1fc864.zip |
Parse the slightly-different format of the build logs.
Notes
Notes:
svn path=/head/; revision=113617
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/processonelog | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/processonelog b/Tools/portbuild/scripts/processonelog index 1bc27f57ecf8..6d6836e9b733 100755 --- a/Tools/portbuild/scripts/processonelog +++ b/Tools/portbuild/scripts/processonelog @@ -19,9 +19,9 @@ indexfilename=$indexdir/INDEX portname=$(basename $filename .log) affected=$(($(grep -cF $portname < $indexfilename) -1)) logsize=$(/bin/ls -sk $errordir/$filename | awk '{print $1}') -dir=$(sed -n -e '3p' $errordir/$filename | grep '^with arguments' | awk '{print $4}' | \ +dir=$(sed -n -e '4p' $errordir/$filename | grep '^port directory:' | awk '{print $3}' | \ sed -e 's,^/[^/]*/[^/]*/,,') -maintainer=$(sed -n -e '4p' $errordir/$filename | grep '^maintained by' | awk '{print $3}') +maintainer=$(sed -n -e '3p' $errordir/$filename | grep '^maintained by' | awk '{print $3}') datetime=$(sed -n -e '5p' $errordir/$filename | grep '^build started at' | \ sed -e 's/build started at ...//' | tr ' ' '_' ) @@ -337,4 +337,4 @@ if grep -q "Trying build of .* even though it is marked BROKEN" $1; then broken="broken" fi -echo "$filename|$portname|$affected|$logsize|$dir|$maintainer|$reason|$tag|$broken|$datetime" +echo "$filename|$portname|$affected|$logsize|$dir|$maintainer|$reason|$tag|$broken|$datetime|$errordir" |