diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-11-25 00:04:48 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-11-25 00:04:48 +0000 |
commit | 7b38de7527066aed1bc5128df70885f12ba3ba39 (patch) | |
tree | d501e13d6b1633cbc977940ed102aee3619d044b /Tools | |
parent | 78555f49bd2574f881fc018249d61df4b6ece887 (diff) | |
download | ports-7b38de7527066aed1bc5128df70885f12ba3ba39.tar.gz ports-7b38de7527066aed1bc5128df70885f12ba3ba39.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/processlogs2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/processlogs2 b/Tools/portbuild/scripts/processlogs2 index b069410ed38e..58626ffc4b2e 100755 --- a/Tools/portbuild/scripts/processlogs2 +++ b/Tools/portbuild/scripts/processlogs2 @@ -42,16 +42,16 @@ else size=$(/bin/ls -sk $log.log | awk '{print $1}') echo -n "$size KB" >>$of echo -n "</td><td valign=\"top\">" >>$of - dir=$(sed -n -e '3p' $log.log | awk '{print $4}' | sed -e 's,^/[^/]*/[^/]*/,,') + dir=$(sed -n -e '4p' $log.log | awk '{print $3}' | sed -e 's,^/[^/]*/[^/]*/,,') echo -n "<a href=\"http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/$dir\">$dir</a>" >>$of echo -n "</td><td valign=\"top\">" >>$of maint=$(sed -n -e '3p' $log.log | awk '{print $3}') maints="$maints $maint" echo -n "<a href=\"mailto:$maint\">$maint</a>" >>$of echo "</td><td valign=\"top\">" >>$of - for file in $(cat $log.log | sed -e '1,/^list of extra files and directories/d' -e '/^=======/,$d' -e '/^ /d' -e 's/^extra: //' -e 's/^missing: //' -e 's/://' | awk '{print $1}'); do - echo "$file<br>" >>$of - done + cat $log.log | sed -e '1,/^list of extra files and directories/d' -e '/^list of/,$d' | awk '{print $11}' | sed -E -e 's,^,<font color=\"magenta\">,' -e 's,(usr/(local|X11R6)),<font color=\"black\">\1,g' -e 's,$,</font></font><br>,' >>$of + cat $log.log | sed -e '1,/^list of files present before this port was installed/d' -e '/^list of/,$d' -e 's,^\./,,' | awk '{print $1}' | sed -e 's,^,<font color=\"orange\">,' -e 's,$, (missing)</font><br>,' >> $of + cat $log.log | sed -e '1,/^list of filesystem changes/d' -e '/^ /d' | awk '{print $1}' | sed -e 's,^,<font color=\"red\">,' -e 's,$, (changed)</font><br>,' >>$of echo "</td></tr>" >>$of shift done |