From d1a31b3f54feb2c2f960e299cf0d83e9b2ebf486 Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Thu, 25 Sep 2014 02:07:46 +0000 Subject: [PATCH] Fixes regex for excluding translations from release packages, refs #2494 This was SVN commit r15800. --- source/tools/dist/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tools/dist/build.sh b/source/tools/dist/build.sh index 900483cc21..6dd3e443a1 100755 --- a/source/tools/dist/build.sh +++ b/source/tools/dist/build.sh @@ -23,7 +23,7 @@ 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 +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