diff --git a/Tools/portbuild/scripts/processlogs2 b/Tools/portbuild/scripts/processlogs2
index b1f4fdfe66f3..0edef4c55511 100755
--- a/Tools/portbuild/scripts/processlogs2
+++ b/Tools/portbuild/scripts/processlogs2
@@ -30,27 +30,29 @@ else
echo "
Log | Aff. | Size | Repository | Maintainer | Pathname |
" >>$of
while [ $# -gt 0 ]; do
log=$(echo $1 | basename $1 .log)
- for file in $(cat $log.log | sed -e '1,/^list of extra files and directories/d' -e '/^list of all files and directories/,$d' -e '/^ /d' -e 's/^extra: //' -e 's/^missing: //' -e 's/://' | awk '{print $1}'); do
- echo -n "" >>$of
+ echo -n " |
" >>$of
echo -n "" >> $of
echo -n "" >>$of
echo -n $log >>$of
echo -n "" >>$of
- echo -n " | " >>$of
+ echo -n " | " >>$of
affected=$(($(grep -cF $log < INDEX) - 1))
if [ $affected != 0 ]; then echo -n $affected >>$of; fi
- echo -n " | " >>$of
+ echo -n " | " >>$of
size=$(/bin/ls -sk $log.log | awk '{print $1}')
echo -n "$size KB" >>$of
- echo -n " | " >>$of
+ echo -n " | " >>$of
dir=$(sed -n -e '3p' $log.log | awk '{print $4}' | sed -e 's,^/[^/]*/[^/]*/,,')
echo -n "$dir" >>$of
- echo -n " | " >>$of
+ echo -n " | " >>$of
maint=$(sed -n -e '4p' $log.log | awk '{print $3}')
maints="$maints $maint"
echo -n "$maint" >>$of
- echo " | $file |
" >>$of
+ echo "" >>$of
+ for file in $(cat $log.log | sed -e '1,/^list of extra files and directories/d' -e '/^list of all files and directories/,$d' -e '/^ /d' -e 's/^extra: //' -e 's/^missing: //' -e 's/://' | awk '{print $1}'); do
+ echo "$file " >>$of
done
+ echo " | " >>$of
shift
done
echo "
" >> $of