From 31eb4dfc7a9f91bc8b7ca461ae598217e12f7837 Mon Sep 17 00:00:00 2001 From: Jordi Mas Date: Tue, 20 Feb 2024 21:49:32 +0100 Subject: [PATCH] Execute run-check-links after deleting the logs --- deployment/generate-tm.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/deployment/generate-tm.sh b/deployment/generate-tm.sh index f3abd3c4..5b4177d2 100755 --- a/deployment/generate-tm.sh +++ b/deployment/generate-tm.sh @@ -2,7 +2,6 @@ ROOT="$1" PUBLIC="$2" PROGRAMS=$ROOT/tm-git/src -BUILDER=$PROGRAMS NEW_POS=$PROGRAMS/output # PUBLISHED directories are used to allow to publish the previous version if # we have been unable to fetch it. @@ -41,15 +40,15 @@ export LC_ALL=ca_ES.utf-8 mkdir -p $PUBLISHED_PO mkdir -p $PUBLISHED_TMX -# Check project links -cd $PROGRAMS -python run-check-links.py # Build new translation files -cd $BUILDER +cd $PROGRAMS rm -f *.log rm -f -r $NEW_POS +# Check project links +python run-check-links.py + # Download new translation files python builder.py -d python builder.py --softcatala