diff options
author | Dominik George <nik@velocitux.com> | 2022-11-21 12:13:33 +0100 |
---|---|---|
committer | Dominik George <nik@velocitux.com> | 2022-11-21 12:13:33 +0100 |
commit | c9226b123ac304ced0a7a4f9360df0c22e6911cd (patch) | |
tree | f210e212a3f35b01882e6e88a8e5435cc33d5203 | |
parent | cd7f65a287128b69e41f450dec36914543f020d4 (diff) | |
download | impressive-display-c9226b123ac304ced0a7a4f9360df0c22e6911cd.tar.gz impressive-display-c9226b123ac304ced0a7a4f9360df0c22e6911cd.tar.bz2 impressive-display-c9226b123ac304ced0a7a4f9360df0c22e6911cd.zip |
Fix portrait merging for older texlive-extra versions
This is to ease backporting to Debian bullseye, where pdfxup writes
status output to stdout.
-rwxr-xr-x | bin/impressive-display | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/impressive-display b/bin/impressive-display index ad97ada..57ea0da 100755 --- a/bin/impressive-display +++ b/bin/impressive-display @@ -261,7 +261,7 @@ function merge_portrait_documents { if which pdfxup 1>/dev/null ; then if pdf_is_portrait "$pdffile"; then - cd $(dirname "$pdffile") && pdfxup "$pdffile" && cd - 1>/dev/null + cd $(dirname "$pdffile") && pdfxup "$pdffile" 1>/dev/null && cd - 1>/dev/null mv $(dirname "$pdffile")/pdfxup.pdf "$pdffile" fi else |