From 212508b1290d1456481d21d128b839d6d22d8f94 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 17 Jan 2020 22:31:04 +0000 Subject: texplate (17jan20) git-svn-id: svn://tug.org/texlive/trunk@53444 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/texlive/linked_scripts/Makefile.am | 1 + Build/source/texk/texlive/linked_scripts/Makefile.in | 1 + Build/source/texk/texlive/linked_scripts/scripts.lst | 5 +++++ .../source/texk/texlive/linked_scripts/texlive/tlmgr.pl | 10 +++++----- .../texk/texlive/linked_scripts/texplate/texplate.sh | 17 +++++++++++++++++ 5 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 Build/source/texk/texlive/linked_scripts/texplate/texplate.sh (limited to 'Build') diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am index 22b1a3ba880..20cc60e497d 100644 --- a/Build/source/texk/texlive/linked_scripts/Makefile.am +++ b/Build/source/texk/texlive/linked_scripts/Makefile.am @@ -206,6 +206,7 @@ texmf_other_scripts = \ texlive/updmap.pl \ texliveonfly/texliveonfly.py \ texloganalyser/texloganalyser \ + texplate/texplate.sh \ thumbpdf/thumbpdf.pl \ tlcockpit/tlcockpit.sh \ tlshell/tlshell.tcl \ diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in index 62893dcfce9..2638631a1c7 100644 --- a/Build/source/texk/texlive/linked_scripts/Makefile.in +++ b/Build/source/texk/texlive/linked_scripts/Makefile.in @@ -419,6 +419,7 @@ texmf_other_scripts = \ texlive/updmap.pl \ texliveonfly/texliveonfly.py \ texloganalyser/texloganalyser \ + texplate/texplate.sh \ thumbpdf/thumbpdf.pl \ tlcockpit/tlcockpit.sh \ tlshell/tlshell.tcl \ diff --git a/Build/source/texk/texlive/linked_scripts/scripts.lst b/Build/source/texk/texlive/linked_scripts/scripts.lst index 9aa442a4d85..b7861c5f665 100644 --- a/Build/source/texk/texlive/linked_scripts/scripts.lst +++ b/Build/source/texk/texlive/linked_scripts/scripts.lst @@ -138,6 +138,10 @@ texfot/texfot.pl texlive/fmtutil-sys.sh texlive/fmtutil-user.sh texlive/fmtutil.pl +texlive/mktexlsr +texlive/mktexmf +texlive/mktexpk +texlive/mktextfm texlive/rungs.tlu texlive/tlmgr.pl texlive/updmap-sys.sh @@ -145,6 +149,7 @@ texlive/updmap-user.sh texlive/updmap.pl texliveonfly/texliveonfly.py texloganalyser/texloganalyser +texplate/texplate.sh thumbpdf/thumbpdf.pl tlcockpit/tlcockpit.sh tlshell/tlshell.tcl diff --git a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl index 71fd28e5b7a..2dd7ecb275b 100755 --- a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl +++ b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl @@ -1,12 +1,12 @@ #!/usr/bin/env perl -# $Id: tlmgr.pl 53225 2019-12-24 19:19:02Z karl $ +# $Id: tlmgr.pl 53428 2020-01-16 23:29:27Z karl $ # -# Copyright 2008-2019 Norbert Preining +# Copyright 2008-2020 Norbert Preining # This file is licensed under the GNU General Public License version 2 # or any later version. -my $svnrev = '$Revision: 53225 $'; -my $datrev = '$Date: 2019-12-24 20:19:02 +0100 (Tue, 24 Dec 2019) $'; +my $svnrev = '$Revision: 53428 $'; +my $datrev = '$Date: 2020-01-17 00:29:27 +0100 (Fri, 17 Jan 2020) $'; my $tlmgrrevision; my $tlmgrversion; my $prg; @@ -10008,7 +10008,7 @@ This script and its documentation were written for the TeX Live distribution (L) and both are licensed under the GNU General Public License Version 2 or later. -$Id: tlmgr.pl 53225 2019-12-24 19:19:02Z karl $ +$Id: tlmgr.pl 53428 2020-01-16 23:29:27Z karl $ =cut # test HTML version: pod2html --cachedir=/tmp tlmgr.pl >/tmp/tlmgr.html diff --git a/Build/source/texk/texlive/linked_scripts/texplate/texplate.sh b/Build/source/texk/texlive/linked_scripts/texplate/texplate.sh new file mode 100644 index 00000000000..da649780378 --- /dev/null +++ b/Build/source/texk/texlive/linked_scripts/texplate/texplate.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 texplate 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 -- cgit v1.2.3