diff --git a/Pre-Consume-Script-Examples.md b/Pre-Consume-Script-Examples.md index c9ed13f..29f790e 100644 --- a/Pre-Consume-Script-Examples.md +++ b/Pre-Consume-Script-Examples.md @@ -12,7 +12,7 @@ set -e -o pipefail export LC_ALL=C #IN="$1" -IN="$DOCUMENT_SOURCE_PATH" +IN="$DOCUMENT_WORKING_PATH" PAGES=$(pdfinfo "$IN" | grep ^Pages: | tr -dc '0-9') THRESHOLD=0.002 @@ -44,6 +44,6 @@ fi ```bash #!/usr/bin/env bash -qpdf --replace-input "$DOCUMENT_SOURCE_PATH" +qpdf --replace-input "$DOCUMENT_WORKING_PATH" ``` \ No newline at end of file