]> gitweb.hhaalo.de Git - scantopdf.git/commitdiff
fix variable name
authorBastian Dehn <hhaalo@arcor.de>
Sat, 5 Jul 2025 11:01:29 +0000 (13:01 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 5 Jul 2025 11:01:29 +0000 (13:01 +0200)
scanbasic.sh

index 378c6347be82b2227dcaa1de53cc1609a2b4e09a..a6f008675e24d0ea4c5c4f45756515ca7bf08bb7 100644 (file)
@@ -70,7 +70,7 @@ createonepdf()
        local tiff=
        for tiff in scanned*.tiff; do
                output_pdf=${tiff/.tiff/.pdf}
-               tiff2pdf $i -o $output_pdf \
+               tiff2pdf $tiff -o $output_pdf \
                        || errlog "could not convert tiff to pdf" \
                        || return $?
                rm $tiff \