After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143245 - intltool-update doesn't handle variables with space characters in their values
intltool-update doesn't handle variables with space characters in their values
Status: RESOLVED FIXED
Product: intltool
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: intltool maintainers
intltool maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-26 23:55 UTC by Rodney Dawes
Modified: 2015-06-01 11:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes variable substitution for values with space characters in intltool-update (479 bytes, patch)
2004-05-26 23:56 UTC, Rodney Dawes
committed Details | Review

Description Rodney Dawes 2004-05-26 23:55:47 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.
Comment 1 Rodney Dawes 2004-05-26 23:56:29 UTC
Created attachment 28055 [details] [review]
Fixes variable substitution for values with space characters in intltool-update
Comment 2 Kenneth Rohde Christiansen 2004-05-27 05:18:46 UTC
feel free to commit.
Comment 3 Rodney Dawes 2004-05-27 12:49:51 UTC
Committed.