diff options
author | asami <asami@FreeBSD.org> | 2000-09-27 07:51:04 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-09-27 07:51:04 +0800 |
commit | b5d5b9980aaa8bae12e719a33a3aaacf30c87608 (patch) | |
tree | c594a34b57df1af9fa2673e3d370f22dac4a32b6 /Tools/portbuild | |
parent | dad0ba17cff402146cb2441938d8fa2e93a21c26 (diff) | |
download | freebsd-ports-gnome-b5d5b9980aaa8bae12e719a33a3aaacf30c87608.tar.gz freebsd-ports-gnome-b5d5b9980aaa8bae12e719a33a3aaacf30c87608.tar.zst freebsd-ports-gnome-b5d5b9980aaa8bae12e719a33a3aaacf30c87608.zip |
Change "grep *.log" to "find . -name '*.log' | xargs grep", the number of
logs were overflowing the argv array.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/processlogs2 | 2 |
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 |