From c213ab680477c4c4860656ab1bbbf35f476b8f46 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 25 Apr 2024 18:09:03 +0200 Subject: fixed an ill recursion in getting the sources --- checkout-tl.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'checkout-tl.sh') 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 @@ #!/bin/sh -PWD=$(pwd) +PWD=$(dirname $0) +cd ${PWD} . ${PWD}/variables.conf @@ -15,7 +16,7 @@ else cd ${PWD}/source svn info 2>/dev/null if [[ $? -ne 0 ]];then - cd ${PWD} + cd .. rm -rf ${PWD}/source svn co --config-option config:miscellany:use-commit-times=yes \ svn://tug.org/texlive/branches/branch${TL_BRANCH}/Build/source -- cgit v1.2.3