Fixes translation inclusion regex for build-osx-bundle.sh, fixes #2764

This was SVN commit r15808.
This commit is contained in:
historic_bruno 2014-09-26 01:06:21 +00:00
parent 7ca08e2485
commit 8f039bfb44

View File

@ -84,7 +84,7 @@ if [ "$build_release" = "true" ]; then
cd $build_path
rm binaries/data/config/dev.cfg
# Only include translations for a subset of languages
find 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 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
echo L\"${SVNREV}-release\" > build/svn_revision/svn_revision.txt
cd build/workspaces
fi