summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.am1
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.in1
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/albatross/albatross.sh17
-rw-r--r--Build/source/texk/texlive/linked_scripts/scripts.lst1
4 files changed, 20 insertions, 0 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am
index b53b3c4da35..3a698bb4652 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.am
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.am
@@ -99,6 +99,7 @@ texmf_other_scripts = \
accfonts/mkt1font \
accfonts/vpl2ovp \
accfonts/vpl2vpl \
+ albatross/albatross.sh \
arara/arara.sh \
attachfile2/pdfatfi.pl \
authorindex/authorindex \
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in
index 646168c5b3d..e64e3117b7d 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.in
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.in
@@ -312,6 +312,7 @@ texmf_other_scripts = \
accfonts/mkt1font \
accfonts/vpl2ovp \
accfonts/vpl2vpl \
+ albatross/albatross.sh \
arara/arara.sh \
attachfile2/pdfatfi.pl \
authorindex/authorindex \
diff --git a/Build/source/texk/texlive/linked_scripts/albatross/albatross.sh b/Build/source/texk/texlive/linked_scripts/albatross/albatross.sh
new file mode 100755
index 00000000000..323713ca4b8
--- /dev/null
+++ b/Build/source/texk/texlive/linked_scripts/albatross/albatross.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+# Public domain. Originally written by Norbert Preining and Karl Berry, 2018.
+# Note from Paulo: this script provides better Cygwin support than our original
+# approach, so the team decided to use it as a proper wrapper for albatross as well.
+
+scriptname=`basename "$0"`
+jar="$scriptname.jar"
+jarpath=`kpsewhich --progname="$scriptname" --format=texmfscripts "$jar"`
+
+kernel=`uname -s 2>/dev/null`
+if echo "$kernel" | grep CYGWIN >/dev/null; then
+ CYGWIN_ROOT=`cygpath -w /`
+ export CYGWIN_ROOT
+ jarpath=`cygpath -w "$jarpath"`
+fi
+
+exec java -jar "$jarpath" "$@" \ No newline at end of file
diff --git a/Build/source/texk/texlive/linked_scripts/scripts.lst b/Build/source/texk/texlive/linked_scripts/scripts.lst
index ed08c90eedd..6ea6066372e 100644
--- a/Build/source/texk/texlive/linked_scripts/scripts.lst
+++ b/Build/source/texk/texlive/linked_scripts/scripts.lst
@@ -41,6 +41,7 @@ a2ping/a2ping.pl
accfonts/mkt1font
accfonts/vpl2ovp
accfonts/vpl2vpl
+albatross/albatross.sh
arara/arara.sh
attachfile2/pdfatfi.pl
authorindex/authorindex