From: marcosmamorim Date: Wed, 28 Jul 2010 09:50:20 +0000 (+0000) Subject: update-locale: Fix error to update locale pt-BR X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=baf044636830eccedb5be644a01c432cece6d72a;p=gosa.git update-locale: Fix error to update locale pt-BR git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19179 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/update-locale b/gosa-core/update-locale index a0363215c..65f4ec9d9 100755 --- a/gosa-core/update-locale +++ b/gosa-core/update-locale @@ -41,8 +41,8 @@ generate_po() { echo "Merging po files with existing ones" error=0 - for f in locale/${l_path}??/LC_MESSAGES; do - [[ "$f" == "locale/${l_path}??/LC_MESSAGES" ]] && break + for f in locale/${l_path}*/LC_MESSAGES; do + [[ "$f" == "locale/${l_path}/LC_MESSAGES" ]] && break echo -n "* merging $f/messages.po: " [ ! -f $f/messages.po ] && touch $f/messages.po