diff options
author | Karl Berry <karl@freefriends.org> | 2023-05-06 22:03:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-05-06 22:03:57 +0000 |
commit | 996ab582db894fb0949df386489a5101ed07062e (patch) | |
tree | a124f1b8886ff8c004c9960709f056b3d898aa99 /Master/tlpkg/bin/tl-update-lmtx-bin | |
parent | 6a69999bbc827b94cfa79dae2264da0d4b2f0e02 (diff) |
luametatex 2.10.08, context 2023.05.05 18:36
git-svn-id: svn://tug.org/texlive/trunk@67034 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-lmtx-bin')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-lmtx-bin | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/tl-update-lmtx-bin b/Master/tlpkg/bin/tl-update-lmtx-bin new file mode 100755 index 00000000000..66621c67d72 --- /dev/null +++ b/Master/tlpkg/bin/tl-update-lmtx-bin @@ -0,0 +1,46 @@ +#!/bin/sh +# $Id$ +# Public domain. Originally written 2023, Karl Berry. +# Download new luametatex binaries from the garden. + +real0=`realpath $0` +mydir=`cd \`dirname "$real0"\` && pwd` # Master/tlpkg/bin +Master=`cd $mydir/../.. && pwd` +test -z "$Master" && exit 1 + +cg=https://dl.contextgarden.net/build/luametatex/main + +# leaving out x86_64-linux for now because Mojca doesn't have the +# centos7 vhost set up. + +for cgplat in \ + aarch64-linux \ + amd64-freebsd \ + armhf-linux \ + i386-freebsd \ + i386-linux \ + i386-solaris \ + win64 \ + x86_64-darwinlegacy \ + x86_64-linuxmusl \ + x86_64-solaris \ +; do + if test $cgplat = win64; then + tlplat=windows + exeext=.exe + else + tlplat=$cgplat + exeext= + fi + cd $Master/bin/$tlplat || exit 1 + binfile=luametatex$exeext + url=$cg/$cgplat/$binfile + if wget -nv $url -O lmtx.new; then + mv lmtx.new $binfile || exit 1 + echo "$tlplat/$binfile updated" + else + echo "$0: goodbye, wget failed: $url" >&2 + exit 1 + fi +done + |