Restrict set of translations included in releases

This was SVN commit r15147.
This commit is contained in:
Ykkrosh 2014-05-11 17:43:36 +00:00
parent 0a880413fe
commit 3ecbb7667b

View File

@ -22,6 +22,9 @@ rm -rf export-win32
svn export ${SVNWC} export-unix
svn export --native-eol CRLF ${SVNWC} export-win32
# Only include translations for a subset of languages
find export-{unix,win32}/binaries/data/ -name "*.po" | grep -v '.*/\(ca\|cs\|de\|en_GB\|es\|fr\|gd\|gl\|it\|nl\|pt_PT\|pt_BR\)\.[A-Za-z0-9_.]\+\.po' | xargs rm
# Update the svn_revision, so these builds can be identified
echo L\"${SVNREV}-release\" > export-unix/build/svn_revision/svn_revision.txt
echo L\"${SVNREV}-release\" > export-win32/build/svn_revision/svn_revision.txt