summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/bib2gls/bib2gls.sh
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-10 22:10:52 +0000
committerKarl Berry <karl@freefriends.org>2017-09-10 22:10:52 +0000
commit23056da81dd216ac377e040b70c9b78e01c94186 (patch)
tree2ef9d4754fb21d2e16390741fb5d8fcb2045a095 /Master/texmf-dist/scripts/bib2gls/bib2gls.sh
parent17ae18d7db87b958fb98d507710e615be1d4cc17 (diff)
bib2gls (10sep17)
git-svn-id: svn://tug.org/texlive/trunk@45266 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/bib2gls/bib2gls.sh')
-rwxr-xr-xMaster/texmf-dist/scripts/bib2gls/bib2gls.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/bib2gls/bib2gls.sh b/Master/texmf-dist/scripts/bib2gls/bib2gls.sh
new file mode 100755
index 00000000000..5f9d7f71e60
--- /dev/null
+++ b/Master/texmf-dist/scripts/bib2gls/bib2gls.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+kernel=`uname -s`
+if test "${kernel#*CYGWIN}" != "$kernel"
+then
+ jarpath=`cygpath -w $(kpsewhich --progname=bib2gls --format=texmfscripts bib2gls.jar)`
+else
+ jarpath=`kpsewhich --progname=bib2gls --format=texmfscripts bib2gls.jar`
+fi
+
+java -Djava.locale.providers=CLDR,JRE -jar "$jarpath" "$@"
+