diff options
author | Karl Berry <karl@freefriends.org> | 2020-12-07 22:10:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-12-07 22:10:16 +0000 |
commit | fedba8d2d9a4893d4342e83c7fcce864364ea5c8 (patch) | |
tree | bfb076fe2c98687442d7d3635de4b5f845d819d5 /Build | |
parent | 64e75915646d2f3522cc81a7142eac31ab5372d4 (diff) |
albatross (7dec20)
git-svn-id: svn://tug.org/texlive/trunk@57089 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
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 |