summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/albatross/albatross.jarbin0 -> 3088115 bytes
-rwxr-xr-xMaster/texmf-dist/scripts/albatross/albatross.sh17
2 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/albatross/albatross.jar b/Master/texmf-dist/scripts/albatross/albatross.jar
new file mode 100755
index 00000000000..5f0b31c428b
--- /dev/null
+++ b/Master/texmf-dist/scripts/albatross/albatross.jar
Binary files differ
diff --git a/Master/texmf-dist/scripts/albatross/albatross.sh b/Master/texmf-dist/scripts/albatross/albatross.sh
new file mode 100755
index 00000000000..323713ca4b8
--- /dev/null
+++ b/Master/texmf-dist/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