From 19b612375fc2d623aa66a13e40a1bdfdae8f5c36 Mon Sep 17 00:00:00 2001 From: Max Chernoff <49086429+gucci-on-fleek@users.noreply.github.com> Date: Sun, 23 Oct 2022 02:31:40 -0600 Subject: [PATCH] Fix the build --- .github/workflows/build-test-bundle.yml | 12 ++++++------ tests/common/luametatex-wrapper | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) mode change 100644 => 100755 tests/common/luametatex-wrapper diff --git a/.github/workflows/build-test-bundle.yml b/.github/workflows/build-test-bundle.yml index 3cb4e77..fdf24c0 100644 --- a/.github/workflows/build-test-bundle.yml +++ b/.github/workflows/build-test-bundle.yml @@ -87,6 +87,12 @@ jobs: cd ~/lmtx ./install.sh + - name: Set environment variables + run: | + echo "lmtx_context=$HOME/lmtx/tex/texmf-linux-64/bin/context" >> $GITHUB_ENV + echo "tl_context=$HOME/texlive/bin/x86_64-linux/context" >> $GITHUB_ENV + echo "TEXMFHOME=$GITHUB_WORKSPACE/texmf" >> $GITHUB_ENV + - name: Install LuaMetaLaTeX run: | cd ~ @@ -100,12 +106,6 @@ jobs: unzip installer-linux64.zip ./installer - - name: Set environment variables - run: | - echo "lmtx_context=$HOME/lmtx/tex/texmf-linux-64/bin/context" >> $GITHUB_ENV - echo "tl_context=$HOME/texlive/bin/x86_64-linux/context" >> $GITHUB_ENV - echo "TEXMFHOME=$GITHUB_WORKSPACE/texmf" >> $GITHUB_ENV - - name: Build Documentation run: | cd "$GITHUB_WORKSPACE" diff --git a/tests/common/luametatex-wrapper b/tests/common/luametatex-wrapper old mode 100644 new mode 100755 index d7209f5..2f776b0 --- a/tests/common/luametatex-wrapper +++ b/tests/common/luametatex-wrapper @@ -1,5 +1,5 @@ #!/bin/sh -set -euo pipefail +set -eu luametatex="$(kpsewhich -var-value SELFAUTOLOC)/luametatex" format=$(echo "$@" | sed -E 's/^.*--fmt=([^ ]*) .*$/\1/')