diff options
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/arara/arara.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/arara/arara.sh b/Build/source/texk/texlive/linked_scripts/arara/arara.sh index e9a59c90b97..8f97643a72e 100755 --- a/Build/source/texk/texlive/linked_scripts/arara/arara.sh +++ b/Build/source/texk/texlive/linked_scripts/arara/arara.sh @@ -1,3 +1,9 @@ #!/bin/bash -jarpath=`kpsewhich --progname=arara --format=texmfscripts arara.jar` +kernel=`uname -s` +if test "${kernel#*CYGWIN}" != "$kernel" +then + jarpath=`cygpath -w $(kpsewhich --progname=arara --format=texmfscripts arara.jar)` +else + jarpath=`kpsewhich --progname=arara --format=texmfscripts arara.jar` +fi java -jar "$jarpath" "$@" |