write result pdf to requested filename, not to tmpdir

This commit is contained in:
Tilman Kranz 2024-03-24 01:28:17 +01:00
parent 297af9a74a
commit dc4c5498b2

View File

@ -441,7 +441,7 @@ if ! \
qpdf \ qpdf \
--empty \ --empty \
--pages "${input[@]}" \ --pages "${input[@]}" \
-- "$pdfdir/$result_filename" -- "$result_filename"
then then
warning "Could not concatenate \"$result_filename\"." warning "Could not concatenate \"$result_filename\"."
rv=1 rv=1