fix var typo

This commit is contained in:
Thomas Ruoff
2021-01-29 22:53:23 +01:00
parent fa14dc4248
commit 4f8d09b656

4
run.sh
View File

@@ -4,7 +4,7 @@ set -o errexit -o nounset
OCRMYPDF_CMD='docker run --rm -i ocrmypdf'
SCR_DIR=/mnt/docscans
SRC_DIR=/mnt/docscans
DST_DIR=/mnt/documents
LOCKFILE=$SRC_DIR/.lock
@@ -55,7 +55,7 @@ do
(( FAILED_COUNT+=1 ))
fi
echo
done < <(find $SCR_DIR -maxdepth 1 -name '*.pdf' -print0)
done < <(find "$SRC_DIR" -maxdepth 1 -name '*.pdf' -print0)
echo Done
echo