mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-04-21 16:06:48 +02:00
Tweak script.
This commit is contained in:
parent
5e9617a742
commit
c23c6dec9a
@ -12,11 +12,11 @@
|
||||
# ./test-corpus.sh DIRECTORY
|
||||
#
|
||||
|
||||
if test $# = 1; then
|
||||
if test $# = 0; then
|
||||
echo "Usage: ./test-corpus.sh DIRECTORY"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for file in $(find "$@" -name \*.pdf -print); do
|
||||
./testpdfio $file 2>$file.log || echo $file
|
||||
./testpdfio $file 2>&1 >$file.log || echo $file
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user