Description of problem: When there's "(" and/or ")" in the filename of a .pot file, publican stop working. Version-Release number of selected component (if applicable): publican-2.5-1.el5 How reproducible: Always. Steps to Reproduce: 1. svn co https://svn.devel.redhat.com/repos/ecs/JBoss_Enterprise_Portal_Platform/5.1/FINAL/User_Guide JBoss_Enterprise_Portal_Platform/5.1/FINAL/User_Guide 2. cd JBoss_Enterprise_Portal_Platform/5.1/FINAL/User_Guide 3. publican update_pot; publican update_po --lang ja-JP Actual results: Processing file pot/modules/language/Right_To_Left_Support_(RTL).pot -> ja-JP/modules/language/Right_To_Left_Support_(RTL).po sh: -c: line 0: syntax error near unexpected token `(' sh: -c: line 0: `msgmerge --no-wrap --quiet --backup=none --update ja-JP/modules/language/Right_To_Left_Support_(RTL).po pot/modules/language/Right_To_Left_Support_(RTL).pot' Fatal Error: msgmerge failed to merge updates. POT File: pot/modules/language/Right_To_Left_Support_(RTL).pot. Po File: ja-JP/modules/language/Right_To_Left_Support_(RTL).po at /usr/bin/publican line 654 Expected results: .po files should be generated without problem. Additional info:
This should have been fixed by #661569, requires testing.
Fix verified on Fedora 16 with Publican 3.0-0.fc16.t166. .po files are generated without any problem, even if they have parentheses - ie. User_Guide/pot/modules/Right_To_Left_Support_(RTL).pot User_Guide/ja-JP/modules/language/Right_To_Left_Support_(RTL).po