From b6626b754a7a5e13e0aecb5c36a33da9440aa7d9 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Tue, 28 Dec 2004 04:31:29 +0000 Subject: [PATCH] * Catch up to change in formatting of 'extra files' section in logs * Other minor changes --- Tools/portbuild/scripts/processlogs2 | 7 +++---- 1 file 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 "" >>$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))
" >> $of fi - echo "(timestamp of newest log: $(ls -rtTl | grep 'log$' | tail -1 | awk '{printf("%s %s %s %s\n",$6,$7,$8,$9)}'))

" >> $of + echo "(timestamp of newest log: $(ls -rtTl | grep '\.log$' | tail -1 | awk '{printf("%s %s %s %s\n",$6,$7,$8,$9)}'))

" >> $of echo "" >>$of echo "" >>$of while [ $# -gt 0 ]; do - log=$(echo $1 | basename $1 .log) + log=$(basename $1 .log) echo -n "
LogAff.SizeRepositoryMaintainerPathname
" >>$of echo -n "" >> $of echo -n "" >>$of