From ec798afcac0e7bd34c641897162689c95c7c0d46 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 12 Sep 2023 20:15:36 +0000 Subject: [PATCH] pdfjam (12sep23) git-svn-id: svn://tug.org/texlive/trunk/Build/source@68257 c570f23f-e606-0410-a88d-b1316a301751 --- texk/texlive/linked_scripts/pdfjam/pdfjam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/texk/texlive/linked_scripts/pdfjam/pdfjam b/texk/texlive/linked_scripts/pdfjam/pdfjam index 455d2cbeca..cd6ea75cbe 100755 --- a/texk/texlive/linked_scripts/pdfjam/pdfjam +++ b/texk/texlive/linked_scripts/pdfjam/pdfjam @@ -1,5 +1,5 @@ #!/bin/sh -version=3.07 +version=3.08 ######################################################################### ## ## ## pdfjam: A shell-script interface to the "pdfpages" LaTeX package ## @@ -943,7 +943,7 @@ fi ## A function to check if using non-Cygwin "${latex}" from Cygwin using_non_cygwin_latex_from_cygwin () { if [ -z "${__cache__using_non_cygwin_latex_from_cygwin}" ]; then - if [ "$(uname -o)" = "Cygwin" ] \ + if uname | grep -q CYGWIN \ && "${latex}" -version | head -1 | grep -qv Cygwin; then __cache__using_non_cygwin_latex_from_cygwin=0 else