diff options
-rwxr-xr-x | bin/pdflinks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pdflinks b/bin/pdflinks index 057c4fb..ada36e8 100755 --- a/bin/pdflinks +++ b/bin/pdflinks @@ -11,6 +11,6 @@ find data -iname '*.pdf' | grep -v 'screenshot.pdf' | while read line; do if [ ! -h "$first/$second/$third/$url_base" ]; then echo "Processing $first/$second/$third..." - ( cd data/$first/$second/$third && find -iname '*.pdf' -exec ln -s {} "$url_base" \;) + ( cd data/$first/$second/$third &> /dev/null && find -iname '*.pdf' -exec ln -s {} "$url_base" \;) fi done |