From f3cac1e4a0b132cfff6cebfdaa9c3d8709ed5c2a Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 20 Nov 2017 10:40:37 +1100 Subject: [PATCH] Ignore all dot-files for translation updates We have moved from using tox to installing our own venv in ".venv", which is now matching. Modify the excludes to just ignore all dot-files, as there will be nothing translatable in there. Change-Id: I0c5f30dc3ea19ee8ee74e02e265f42ad2b54095c --- jenkins/scripts/common_translation_update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jenkins/scripts/common_translation_update.sh b/jenkins/scripts/common_translation_update.sh index 2d87467228..9e5cedff28 100644 --- a/jenkins/scripts/common_translation_update.sh +++ b/jenkins/scripts/common_translation_update.sh @@ -137,7 +137,9 @@ function setup_project { shift 2 # All argument(s) contain module names now. - local exclude='.tox/**' + # Exclude all dot-files, particuarly for things such such as .tox + # and .venv + local exclude='.*/**' $VENV/bin/python $SCRIPTSDIR/create-zanata-xml.py \ -p $project -v $version --srcdir . --txdir . \