diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-12-28 04:31:29 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-12-28 04:31:29 +0000 |
commit | b6626b754a7a5e13e0aecb5c36a33da9440aa7d9 (patch) | |
tree | 33b6e4052222bdf0bdd7fb91f75e076a5638d4b2 /Tools/portbuild | |
parent | a8da2d92538f78cb50aa5b5370bc79a37c8dddf8 (diff) | |
download | freebsd-ports-b6626b754a7a5e13e0aecb5c36a33da9440aa7d9.zip |
* Catch up to change in formatting of 'extra files' section in logs
* Other minor changes
Diffstat (limited to 'Tools/portbuild')
-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 58626ffc4b2e..3fb5948b81ea 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 |