diff options
author | Karl Berry <karl@freefriends.org> | 2017-06-06 21:55:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-06-06 21:55:13 +0000 |
commit | 2c0ff5f9ce5bec465a644eff6e17169c8e37479e (patch) | |
tree | c9f8071956301729502cd966d9905267517323ce /Master/texmf-dist/scripts/texosquery/texosquery-jre5.sh | |
parent | 9fc9e3041c5412f3fdb979bdb587f7c90bfaf8bb (diff) |
texosquery (23may17)
git-svn-id: svn://tug.org/texlive/trunk@44509 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/texosquery/texosquery-jre5.sh')
-rwxr-xr-x | Master/texmf-dist/scripts/texosquery/texosquery-jre5.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/texosquery/texosquery-jre5.sh b/Master/texmf-dist/scripts/texosquery/texosquery-jre5.sh index e841a0ea7d2..a72924f360a 100755 --- a/Master/texmf-dist/scripts/texosquery/texosquery-jre5.sh +++ b/Master/texmf-dist/scripts/texosquery/texosquery-jre5.sh @@ -1,5 +1,11 @@ #!/bin/sh -jarpath=`kpsewhich --progname=texosquery --format=texmfscripts texosquery-jre5.jar` +kernel=`uname -s` +if test "${kernel#*CYGWIN}" != "$kernel" +then + jarpath=`cygpath -w $(kpsewhich --progname=texosquery --format=texmfscripts texosquery-jre5.jar)` +else + jarpath=`kpsewhich --progname=texosquery --format=texmfscripts texosquery-jre5.jar` +fi java -jar "$jarpath" "$@" |