Bug#950495: /usr/bin/xdg-settings: 735: Bad substitution

Emilio Pozuelo Monfort pochu at debian.org
Wed Feb 19 18:16:32 GMT 2020


On 19/02/2020 18:32, luca.pedrielli wrote:
> Il 19/02/20 18:09, Emilio Pozuelo Monfort ha scritto:
>> Control: forwarded -1 https://gitlab.freedesktop.org/xdg/xdg-utils/issues/10
>>
>> On 02/02/2020 16:32, luca wrote:
>>> Package: xdg-utils
>>> Version: 1.1.3-1
>>> Severity: normal
>>>
>>> /usr/bin/xdg-settings: 735: Bad substitution
>>> -- Package-specific info:
>>> Desktop environment: XDG_CURRENT_DESKTOP=KDE
>> Looks like you're running into
>> https://gitlab.freedesktop.org/xdg/xdg-utils/issues/10
>>
>> Cheers,
>> Emilio
> 
> Hi Emilio,
> 
> no in my case |read_kde_browser()|doesn't returns an empty string, but
> "/usr/bin/firefox" as you can see in the attached log.
> 
> the problem is that bash works with x"${browser:0:1}" and dash doesn't. Debian
> set /bin/sh as /bin/dash.
> 
> the shabang of**xdg-settings is #!/bin/sh

Ok, I see. Can you open an issue in the upstream tracker at [1]?

[1] https://gitlab.freedesktop.org/xdg/xdg-utils/issues/new

Thanks,
Emilio



More information about the Pkg-freedesktop-maintainers mailing list