Public bug reported:

As reported in an upstream bug, xdg-icon-resource does not handle paths
(either filenames or dir names) containing spaces.

Example:
~ $ xdg-icon-resource install --novendor --size 48 "./foo bar.png" foobar
/usr/bin/xdg-icon-resource: 790: [: /home/xxx/foo: unexpected operator

A patch is provided to be applied downstream in Ubuntu as a new upstream
release of xdg-utils might take a while (the last one is from 2011!)

** Affects: xdg-utils
     Importance: Unknown
         Status: Unknown

** Affects: xdg-utils (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Quote var"
   
https://bugs.launchpad.net/bugs/1488787/+attachment/4452531/+files/0001-xdg-icon-resource-does-not-support-filenames-with-sp.patch

** Bug watch added: freedesktop.org Bugzilla #91758
   https://bugs.freedesktop.org/show_bug.cgi?id=91758

** Also affects: xdg-utils via
   https://bugs.freedesktop.org/show_bug.cgi?id=91758
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1488787

Title:
   xdg-icon-resource does not support filenames with spaces

To manage notifications about this bug go to:
https://bugs.launchpad.net/xdg-utils/+bug/1488787/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to