[Portland-bugs] [Bug 83979] New: xdg-utils-common is broken, xdg-open uses bashism

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 17 04:21:27 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83979

          Priority: medium
            Bug ID: 83979
          Assignee: portland-bugs at lists.freedesktop.org
           Summary: xdg-utils-common is broken, xdg-open uses bashism
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: rkfg at rkfg.me
          Hardware: All
            Status: NEW
           Version: 1.1.0 rc3
         Component: xdg-utils
           Product: Portland

Created attachment 106423
  --> https://bugs.freedesktop.org/attachment.cgi?id=106423&action=edit
patch for xdg-utils

The latest commit 781023ef997bac433dbc258bd5cfdc1366f2ffa4 not only bumps the
version but also adds a "t" letter breaking syntax. xdg-open uses bashism for
years (introduced in commit ba265f969b9061d221915c2528122c44a85ad7c2) and it
breaks multigroup desktop files, actually (easily verified with Google Chrome,
sed shows an error because 'localised_name' var receives 3 lines and thus the
sed command isn't terminated properly). One of the cases there is [*), and
while it works in bash, dash uses “[” as a meta-character. I've quoted it to
make it work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20140917/728478c9/attachment.html>


More information about the Portland-bugs mailing list