self: with self; '' set -e PATH="$PATH:${jq}/bin:${curl}/bin:${coreutils}/bin:${gnugrep}/bin" SECRET_FILE=$1 OUT_DIR=$2 STATE_FILE=$3 AUTH_TOKEN=$(cat $SECRET_FILE) CURL_BODY=$(cat <> "$OUT_DIR/$doc.pdf" echo "$doc" >> $STATE_FILE done ''