diff options
author | Robert Alessi <alessi@robertalessi.net> | 2024-03-26 21:23:44 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2024-03-26 21:23:44 +0100 |
commit | 910f40efb89c71fd39512417d8dc7b54d8f7a773 (patch) | |
tree | fcc567b940541262e7756c9fb7b8fedfe69f0ec9 | |
parent | d3baaa76f7b58184f7a21e12758e8f363ff3a8d5 (diff) | |
download | texlive-openbsd-910f40efb89c71fd39512417d8dc7b54d8f7a773.tar.gz |
tl-build.sh: always source variables.conf
-rwxr-xr-x | tl-build.sh | 7 |
1 files 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 @@ | |||
4 | 4 | ||
5 | this_dir=`pwd` | 5 | this_dir=`pwd` |
6 | tl_sourcedir=${this_dir}/source | 6 | tl_sourcedir=${this_dir}/source |
7 | if [[ -e $1 ]];then | 7 | |
8 | . ${this_dir}/variables.conf | 8 | . ${this_dir}/variables.conf |
9 | fi | ||
10 | 9 | ||
11 | echo "" | 10 | echo "" |
12 | echo " TeX Live for OpenBSD built script " | 11 | echo " TeX Live for OpenBSD built script " |
@@ -87,12 +86,12 @@ fi | |||
87 | if [[ ${with_context} == "y" ]]; then | 86 | if [[ ${with_context} == "y" ]]; then |
88 | cd $tl_sourcedir | 87 | cd $tl_sourcedir |
89 | if [[ -e $1 ]];then | 88 | if [[ -e $1 ]];then |
90 | context_ver=$(svn list svn://tug.org/texlive/branches/branch2024/Master/source | grep luametatex-.*xz | sed 's/.*-\(.*\).tar.xz/\1/') | 89 | context_ver=$(svn list svn://tug.org/texlive/branches/branch${TL_BRANCH}/Master/source | grep luametatex-.*xz | sed 's/.*-\(.*\).tar.xz/\1/') |
91 | if [[ -d luametatex ]];then | 90 | if [[ -d luametatex ]];then |
92 | rm -f luametatex-{$context_ver}.tar.xz | 91 | rm -f luametatex-{$context_ver}.tar.xz |
93 | rm -rf luametatex | 92 | rm -rf luametatex |
94 | fi | 93 | fi |
95 | svn export svn://tug.org/texlive/branches/branch2024/Master/source/luametatex-${context_ver}.tar.xz | 94 | svn export svn://tug.org/texlive/branches/branch${TL_BRANCH}/Master/source/luametatex-${context_ver}.tar.xz |
96 | else | 95 | else |
97 | context_ver=$(svn list svn://tug.org/texlive/trunk/Master/source | grep luametatex-.*xz | sed 's/.*-\(.*\).tar.xz/\1/') | 96 | context_ver=$(svn list svn://tug.org/texlive/trunk/Master/source | grep luametatex-.*xz | sed 's/.*-\(.*\).tar.xz/\1/') |
98 | if [[ -d luametatex ]];then | 97 | if [[ -d luametatex ]];then |