From c9226b123ac304ced0a7a4f9360df0c22e6911cd Mon Sep 17 00:00:00 2001 From: Dominik George Date: Mon, 21 Nov 2022 12:13:33 +0100 Subject: Fix portrait merging for older texlive-extra versions This is to ease backporting to Debian bullseye, where pdfxup writes status output to stdout. --- bin/impressive-display | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3