GNOME Bugzilla – Bug 143245
intltool-update doesn't handle variables with space characters in their values
Last modified: 2015-06-01 11:58:37 UTC
The variable substitution code in intltool-update breaks when it encounters a space in the value assigned to a variable. FOO=`echo bar` thus becomes `echo and causes shell to error out when it gets passed in. The bug is repeatable by running intltool-update --pot in evolution-exchange/po from CVS. This is fixed in the attached patch which changes the regex to grab everything up to the end of the line. There are related bugs that I will file, that are ignorable for the moment, as they have usable workarounds or don't cause fatal errors in the script.
Created attachment 28055 [details] [review] Fixes variable substitution for values with space characters in intltool-update
feel free to commit.
Committed.