From d77fe20728201db025f21c80d7fb7fdda26eccf3 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 14 Mar 2024 11:47:48 +0100 Subject: use r70573 until the 2024 branch is available --- checkout-tl.sh | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'checkout-tl.sh') diff --git a/checkout-tl.sh b/checkout-tl.sh index 435e157..41caac4 100755 --- a/checkout-tl.sh +++ b/checkout-tl.sh @@ -1,2 +1,19 @@ #!/bin/sh -rsync -a --delete --exclude=.svn tug.org::tldevsrc/Build/source . +#rsync -a --delete --exclude=.svn tug.org::tldevsrc/Build/source . +PWD=`pwd` +REV=70573 +if [[ ! -d source ]];then + svn co svn://tug.org/texlive/trunk/Build/source@${REV} +else + cd source + svn update -r ${REV} + if [[ $? -ne 0 ]];then + echo "Please remove or rename the source/ directory" + echo "and re-run this command." + exit 1 + fi + svn revert --recursive . + svn status --no-ignore | grep '^[?I]' | sed "s/^[?I] //" \ + | xargs -I{} rm -rf "{}" +fi +cd ${PWD} -- cgit v1.2.3