aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCache do Fluxo <cache@fluxo.info>2017-04-20 00:13:39 -0300
committerCache do Fluxo <cache@fluxo.info>2017-04-20 00:13:39 -0300
commitaafa82c5549541e282337a01df5bc050b11ac6c4 (patch)
tree461ce0476027a1e015c3de0198350c009fdaf0a3
parent0892a876d67eadd5416d36e5d86a1bbabc6a5066 (diff)
downloadcache-aafa82c5549541e282337a01df5bc050b11ac6c4.tar.gz
cache-aafa82c5549541e282337a01df5bc050b11ac6c4.tar.bz2
Pdflinks: fix output
-rwxr-xr-xbin/pdflinks2
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