1
0
forked from 0ad/0ad

Actually remove all unlisted translations.

This was SVN commit r17298.
This commit is contained in:
leper 2015-11-21 20:00:20 +00:00
parent 229e850dba
commit 082af749f0

View File

@ -4,6 +4,6 @@
LANGS=("ca" "cs" "de" "en_GB" "es" "fr" "gd" "gl" "id" "it" "nl" "pl" "pt_PT" "pt_BR" "ru" "sk" "tr")
REGEX=$(printf "\|%s" "${LANGS[@]}")
REGEX=".*/\("${REGEX:2}"\).[-A-Za-z0-9_.]\+\.po"
REGEX=".*/\("${REGEX:2}"\)\.[-A-Za-z0-9_.]\+\.po"
find "$@" -name "*.po" | grep -v "$REGEX" | xargs rm