diff --git a/scripts/doc-pot-filter.sh b/scripts/doc-pot-filter.sh index 7600a20c41..a6c9e7a1d3 100755 --- a/scripts/doc-pot-filter.sh +++ b/scripts/doc-pot-filter.sh @@ -11,3 +11,7 @@ sphinx-build -b gettext \ # and store in doc/source/locale/ msgcat --use-first --sort-by-file doc/build/gettext-deploy-guide/*.pot \ > doc/build/gettext/deploy-guide.pot + +# Remove the temp directory so its individual pot files +# are not picked up and pushed to Zanata +rm -rf doc/build/gettext-deploy-guide/