Mailinglist Archive: opensuse-bugs (13385 mails)

< Previous Next >
[Bug 300678] GDM sets XDG_DATA_DIRS incorrectly
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 8 Oct 2007 06:41:59 -0600 (MDT)
  • Message-id: <20071008124159.143A6CC7AE@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=300678#c31


Dr. Werner Fink <werner@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Info Provider|werner@xxxxxxxxxx |




--- Comment #31 from Dr. Werner Fink <werner@xxxxxxxxxx> 2007-10-08 06:41:58
MST ---
The lines

XDG_DATA_DIRS=$(echo $XDG_DATA_DIRS | sed 's/\/\(:\|$\)/\1/g')
XDG_CONFIG_DIRS=$(echo $XDG_CONFIG_DIRS | sed 's/\/\(:\|$\)/\1/g')

may be readed as

XDG_DATA_DIRS=$(echo "$XDG_DATA_DIRS" | sed 's/\/\(:\|$\)/\1/g')
XDG_CONFIG_DIRS=$(echo "$XDG_CONFIG_DIRS" | sed 's/\/\(:\|$\)/\1/g')

simply to honor file and path names including e.g. two successive spaces
or blanks. Nevertheless are these lines required? AFAICS the last slash
is removed from the path strings.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >