diff options
author | kris <kris@FreeBSD.org> | 2004-12-28 04:31:29 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-12-28 04:31:29 +0000 |
commit | 4baceb14344e2e2fb5a9c6c75daf8a441ae2f25d (patch) | |
tree | 9edded655b182453feca7136a7f1ce5e52901fd4 /Tools | |
parent | aa082f5628cfb846ce17c05bd253980edfcb4175 (diff) | |
download | FreeBSD-ports-4baceb14344e2e2fb5a9c6c75daf8a441ae2f25d.zip FreeBSD-ports-4baceb14344e2e2fb5a9c6c75daf8a441ae2f25d.tar.gz |
* Catch up to change in formatting of 'extra files' section in logs
* Other minor changes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/processlogs2 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/processlogs2 b/Tools/portbuild/scripts/processlogs2 index 58626ff..3fb5948 100755 --- a/Tools/portbuild/scripts/processlogs2 +++ b/Tools/portbuild/scripts/processlogs2 @@ -15,8 +15,7 @@ echo "</head><body>" >>$of touch .stamp -#find . -name '*.log' | xargs grep -l '^list of extra files and directories' | xargs-exec sed -n -e '/^checking installed files/d' -e 's:^extra[:] :{} :p' -e 's:\(.*\) extra$:{} \1:p' '{}' ';' | sort | sed -e 's/^..//' -e 's/\.log//' | awk '{print $1 " " $2}' > .tmp -find . -name '*.log' | xargs grep -l '^list of extra files and directories' | sort | sed -e 's/^..//' > .tmp +find . -name '*.log' | xargs grep -l '^list of.*file' | sort | sed -e 's/^..//' > .tmp if [ $(echo $(cat .tmp | wc -l)) = 0 ]; then echo "No extra files (yet)" >> $of else @@ -25,11 +24,11 @@ else if [ -s cvsdone ]; then echo "(cvs update finished at: $(cat cvsdone))<br>" >> $of fi - echo "(timestamp of newest log: $(ls -rtTl | grep 'log$' | tail -1 | awk '{printf("%s %s %s %s\n",$6,$7,$8,$9)}'))<br><br>" >> $of + echo "(timestamp of newest log: $(ls -rtTl | grep '\.log$' | tail -1 | awk '{printf("%s %s %s %s\n",$6,$7,$8,$9)}'))<br><br>" >> $of echo "<table border=1>" >>$of echo "<tr><th>Log</th><th>Aff.</th><th>Size</th><th>Repository</th><th>Maintainer</th><th>Pathname</th></tr>" >>$of while [ $# -gt 0 ]; do - log=$(echo $1 | basename $1 .log) + log=$(basename $1 .log) echo -n "<tr><td valign=\"top\">" >>$of echo -n "<a name=\"$log.log\"></a>" >> $of echo -n "<a href=\"$log.log\">" >>$of |