Code

update-locale: Fix error to update locale pt-BR
authormarcosmamorim <marcosmamorim@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Jul 2010 09:50:20 +0000 (09:50 +0000)
committermarcosmamorim <marcosmamorim@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Jul 2010 09:50:20 +0000 (09:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19179 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/update-locale

index a0363215c8a3d3e511a9d0ad43f4698b0055e6f9..65f4ec9d93a50636d03ece3b7498486dda29bf82 100755 (executable)
@@ -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