From 3ecbb7667b3524e59e3b1500ae12d53d62b2b2d9 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Sun, 11 May 2014 17:43:36 +0000 Subject: [PATCH] Restrict set of translations included in releases This was SVN commit r15147. --- source/tools/dist/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/tools/dist/build.sh b/source/tools/dist/build.sh index cb79e60326..8ae7f8c20a 100755 --- a/source/tools/dist/build.sh +++ b/source/tools/dist/build.sh @@ -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