summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-07-14 21:27:24 +0000
committerKarl Berry <karl@freefriends.org>2018-07-14 21:27:24 +0000
commitdc072067d34f630b6ad24b60fd64d2e11e3a3fa0 (patch)
treef982de8ed61e1a15ee07c48a557f0b01237bb588 /Build/source/texk
parent827ff240303a6ecd8c6cb03696a990371f51fcd4 (diff)
(13jul18)
git-svn-id: svn://tug.org/texlive/trunk@48201 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/arara/arara.sh8
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" "$@"