diff options
author | Robert Alessi <alessi@robertalessi.net> | 2024-04-25 18:09:03 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2024-04-25 18:09:03 +0200 |
commit | c213ab680477c4c4860656ab1bbbf35f476b8f46 (patch) | |
tree | d9a24ca9ac88bd423f53f4e67c743b3e7fa9e0d2 /checkout-tl.sh | |
parent | 30f343ad7616e9cb7fb64208e142c82180ae239a (diff) | |
download | texlive-openbsd-c213ab680477c4c4860656ab1bbbf35f476b8f46.tar.gz |
fixed an ill recursion in getting the sources
Diffstat (limited to 'checkout-tl.sh')
-rwxr-xr-x | checkout-tl.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/checkout-tl.sh b/checkout-tl.sh index 711162b..48dd8d6 100755 --- a/checkout-tl.sh +++ b/checkout-tl.sh | |||
@@ -1,5 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | PWD=$(pwd) | 2 | PWD=$(dirname $0) |
3 | cd ${PWD} | ||
3 | 4 | ||
4 | . ${PWD}/variables.conf | 5 | . ${PWD}/variables.conf |
5 | 6 | ||
@@ -15,7 +16,7 @@ else | |||
15 | cd ${PWD}/source | 16 | cd ${PWD}/source |
16 | svn info 2>/dev/null | 17 | svn info 2>/dev/null |
17 | if [[ $? -ne 0 ]];then | 18 | if [[ $? -ne 0 ]];then |
18 | cd ${PWD} | 19 | cd .. |
19 | rm -rf ${PWD}/source | 20 | rm -rf ${PWD}/source |
20 | svn co --config-option config:miscellany:use-commit-times=yes \ | 21 | svn co --config-option config:miscellany:use-commit-times=yes \ |
21 | svn://tug.org/texlive/branches/branch${TL_BRANCH}/Build/source | 22 | svn://tug.org/texlive/branches/branch${TL_BRANCH}/Build/source |