From 21723199dd09fe5d0908ec2c5c19d6daf3783e37 Mon Sep 17 00:00:00 2001 From: Philipp Mundhenk Date: Mon, 16 Sep 2024 20:59:04 +0200 Subject: [PATCH] Update scantofile-0.2.4-1.sh Minor changes for consistency --- script/scantofile-0.2.4-1.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/scantofile-0.2.4-1.sh b/script/scantofile-0.2.4-1.sh index 14c8b58..6ed0f11 100755 --- a/script/scantofile-0.2.4-1.sh +++ b/script/scantofile-0.2.4-1.sh @@ -53,7 +53,7 @@ echo "converting to PDF for $date..." gm convert ${gm_opts[@]} "$filename_base"*.pnm "/scans/${date}.pdf" /opt/brother/scanner/brscan-skey/script/trigger_inotify.sh "${SSH_USER}" "${SSH_PASSWORD}" "${SSH_HOST}" "${SSH_PATH}" "${date}.pdf" - /opt/brother/scanner/brscan-skey/script/trigger_telegram.sh "$date.pdf (front) scanned" + /opt/brother/scanner/brscan-skey/script/trigger_telegram.sh "${date}.pdf (front) scanned" echo "cleaning up for $date..." cd /scans || exit @@ -66,7 +66,7 @@ ( curl -F "userfile=@/scans/$date.pdf" -H "Expect:" -o /scans/"$date"-ocr.pdf "${OCR_SERVER}":"${OCR_PORT}"/"${OCR_PATH}" /opt/brother/scanner/brscan-skey/script/trigger_inotify.sh "${SSH_USER}" "${SSH_PASSWORD}" "${SSH_HOST}" "${SSH_PATH}" "${date}-ocr.pdf" - /opt/brother/scanner/brscan-skey/script/trigger_telegram.sh "$date-ocr.pdf (front) OCR finished" + /opt/brother/scanner/brscan-skey/script/trigger_telegram.sh "${date}-ocr.pdf (front) OCR finished" /opt/brother/scanner/brscan-skey/script/sendtoftps.sh \ "${FTP_USER}" \ "${FTP_PASSWORD}" \