From 910f40efb89c71fd39512417d8dc7b54d8f7a773 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Tue, 26 Mar 2024 21:23:44 +0100 Subject: tl-build.sh: always source variables.conf --- tl-build.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tl-build.sh b/tl-build.sh index 9caa095..2abd033 100755 --- a/tl-build.sh +++ b/tl-build.sh @@ -4,9 +4,8 @@ this_dir=`pwd` tl_sourcedir=${this_dir}/source -if [[ -e $1 ]];then + . ${this_dir}/variables.conf -fi echo "" echo " TeX Live for OpenBSD built script " @@ -87,12 +86,12 @@ fi if [[ ${with_context} == "y" ]]; then cd $tl_sourcedir if [[ -e $1 ]];then - context_ver=$(svn list svn://tug.org/texlive/branches/branch2024/Master/source | grep luametatex-.*xz | sed 's/.*-\(.*\).tar.xz/\1/') + context_ver=$(svn list svn://tug.org/texlive/branches/branch${TL_BRANCH}/Master/source | grep luametatex-.*xz | sed 's/.*-\(.*\).tar.xz/\1/') if [[ -d luametatex ]];then rm -f luametatex-{$context_ver}.tar.xz rm -rf luametatex fi - svn export svn://tug.org/texlive/branches/branch2024/Master/source/luametatex-${context_ver}.tar.xz + svn export svn://tug.org/texlive/branches/branch${TL_BRANCH}/Master/source/luametatex-${context_ver}.tar.xz else context_ver=$(svn list svn://tug.org/texlive/trunk/Master/source | grep luametatex-.*xz | sed 's/.*-\(.*\).tar.xz/\1/') if [[ -d luametatex ]];then -- cgit v1.2.3