Skip to content

Commit

Permalink
Execute run-check-links after deleting the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Feb 20, 2024
1 parent 28fc1c1 commit 31eb4df
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions deployment/generate-tm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 31eb4df

Please sign in to comment.