diff --git a/gen_locale.sh b/gen_locale.sh
index 77c733109748595704caa2006970dfc708065fdf..e134e202133824fa90c00b77087daa3cfa74e302 100755 (executable)
--- a/gen_locale.sh
+++ b/gen_locale.sh
error=0
for f in locale/??/LC_MESSAGES; do
echo -n "* merging $f/messages.po: "
- msgmerge $f/messages.po locale/messages.po --output-file=$f/messages.po.new &> /dev/null
-
+ [ -f $f/messages.po ] && msgmerge $f/messages.po locale/messages.po --output-file=$f/messages.po.new &> /dev/null || /bin/true
if [ $? -eq 0 ]; then
echo "done";
else