aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-09-26 23:51:04 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-09-26 23:51:04 +0000
commitde1b8b82a9a26f95a8a81ea4a2abd72e89f96d96 (patch)
treebe626336db5913d96268dc17ccaa5958a8d6589f /Tools
parentc46666b5b61d66568faaa0efb9602aca479f8e75 (diff)
downloadports-de1b8b82a9a26f95a8a81ea4a2abd72e89f96d96.tar.gz
ports-de1b8b82a9a26f95a8a81ea4a2abd72e89f96d96.zip
Change "grep *.log" to "find . -name '*.log' | xargs grep", the number of
logs were overflowing the argv array.
Notes
Notes: svn path=/head/; revision=33164
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/processlogs22
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/processlogs2 b/Tools/portbuild/scripts/processlogs2
index ce53c32e6919..e973a4f5c204 100755
--- a/Tools/portbuild/scripts/processlogs2
+++ b/Tools/portbuild/scripts/processlogs2
@@ -15,7 +15,7 @@ echo "</head><body>" >>$of
touch .stamp
-grep '^extra: ' *.log > .tmp
+find . -name '*.log' | sort | xargs grep '^extra: ' /dev/null | sed -e 's/^..//' > .tmp
if [ $(echo $(cat .tmp | wc -l)) = 0 ]; then
echo "No extra files (yet)" >> $of
else