[Portland-bugs] [Bug 36417] New: xdg-desktop-icon does not work when user desktop dir has spaces
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Apr 20 04:11:20 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=36417
Summary: xdg-desktop-icon does not work when user desktop dir
has spaces
Product: Portland
Version: unspecified
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: alan_drop-ml at yahoo.com
Considering that a user has his DESKTOP set to "/home/john/My Desktop",
xdg-desktop-icon will fail with the following message:
[: 523: x/home/john/My: unexpected operator
This happens because the strings are not properly quoted on line 522:
if [ x`readlink -f "$desktop_dir"` != x`readlink -f "$desktop_dir_kde"` ]; then
instead of
if [ "x`readlink -f \"$desktop_dir\"`" != "x`readlink -f \"$desktop_dir_kde\"`"
]; then
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list