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

luca.pedrielli agoiza at gmail.com
Wed Feb 19 17:32:42 GMT 2020


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

  

-- 
Saluti, Luca Pedrielli

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20200219/16efdcb7/attachment.html>


More information about the Pkg-freedesktop-maintainers mailing list