summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.am3
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.in2
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/bib2gls/bib2gls.sh12
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/bib2gls/convertgls2bib.sh12
-rw-r--r--Build/source/texk/texlive/linked_scripts/scripts.lst2
5 files changed, 31 insertions, 0 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am
index b240e051c17..32804d0c3a8 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.am
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.am
@@ -46,6 +46,7 @@ installdirs-local:
##
## WIN_WRAPPER is w32_wrapper for 32-bit or w64_wrapper for 64-bit.
##
+## The "shell" list aren't just shell scripts, in either direction.
## Some /bin/sh scripts are listed as `other' or `context'
## scripts because they are correctly handled by the wrapper binaries.
## Conversely, some non-sh scripts are listed as `shell' because they
@@ -90,6 +91,8 @@ texmf_other_scripts = \
accfonts/vpl2vpl \
arara/arara.sh \
authorindex/authorindex \
+ bib2gls/bib2gls.sh \
+ bib2gls/convertgls2bib.sh \
bundledoc/arlatex \
bundledoc/bundledoc \
cachepic/cachepic.tlu \
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in
index 7b8a70f307a..5274a34bb18 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.in
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.in
@@ -305,6 +305,8 @@ texmf_other_scripts = \
accfonts/vpl2vpl \
arara/arara.sh \
authorindex/authorindex \
+ bib2gls/bib2gls.sh \
+ bib2gls/convertgls2bib.sh \
bundledoc/arlatex \
bundledoc/bundledoc \
cachepic/cachepic.tlu \
diff --git a/Build/source/texk/texlive/linked_scripts/bib2gls/bib2gls.sh b/Build/source/texk/texlive/linked_scripts/bib2gls/bib2gls.sh
new file mode 100755
index 00000000000..5f9d7f71e60
--- /dev/null
+++ b/Build/source/texk/texlive/linked_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" "$@"
+
diff --git a/Build/source/texk/texlive/linked_scripts/bib2gls/convertgls2bib.sh b/Build/source/texk/texlive/linked_scripts/bib2gls/convertgls2bib.sh
new file mode 100755
index 00000000000..3e7370b0ca7
--- /dev/null
+++ b/Build/source/texk/texlive/linked_scripts/bib2gls/convertgls2bib.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+kernel=`uname -s`
+if test "${kernel#*CYGWIN}" != "$kernel"
+then
+ jarpath=`cygpath -w $(kpsewhich --progname=convertgls2bib --format=texmfscripts convertgls2bib.jar)`
+else
+ jarpath=`kpsewhich --progname=convertgls2bib --format=texmfscripts convertgls2bib.jar`
+fi
+
+java -jar "$jarpath" "$@"
+
diff --git a/Build/source/texk/texlive/linked_scripts/scripts.lst b/Build/source/texk/texlive/linked_scripts/scripts.lst
index 3f7d35ce3c9..b10451b30e8 100644
--- a/Build/source/texk/texlive/linked_scripts/scripts.lst
+++ b/Build/source/texk/texlive/linked_scripts/scripts.lst
@@ -35,6 +35,8 @@ accfonts/vpl2ovp
accfonts/vpl2vpl
arara/arara.sh
authorindex/authorindex
+bib2gls/bib2gls.sh
+bib2gls/convertgls2bib.sh
bundledoc/arlatex
bundledoc/bundledoc
cachepic/cachepic.tlu