From: janw Date: Fri, 16 Sep 2005 12:21:51 +0000 (+0000) Subject: fixed check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bc15ea4e77df52ea5b8d781b81047da6974ba331;p=gosa.git fixed check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1379 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gen_locale.sh b/gen_locale.sh index e134e2021..1417855a2 100755 --- a/gen_locale.sh +++ b/gen_locale.sh @@ -40,7 +40,13 @@ echo "Merging po files with existing ones:" error=0 for f in locale/??/LC_MESSAGES; do echo -n "* merging $f/messages.po: " - [ -f $f/messages.po ] && msgmerge $f/messages.po locale/messages.po --output-file=$f/messages.po.new &> /dev/null || /bin/true + [ -f $f/messages.po ] && msgmerge $f/messages.po locale/messages.po --output-file=$f/messages.po.new &> /dev/null + + # Do an extra check for dummy dir 'locale/en/LC_MESSAGES' + if [ $? -ne 0 ]; then + [ "$f" == "locale/en/LC_MESSAGES" ] && /bin/true + fi + if [ $? -eq 0 ]; then echo "done"; else