FS#76501 - [yad] yad-settings errors out errors out when executed by other that bash shells
Attached to Project:
Community Packages
Opened by Yuri Cherio (cherio) - Wednesday, 09 November 2022, 18:10 GMT
Last edited by Toolybird (Toolybird) - Sunday, 21 May 2023, 03:40 GMT
Opened by Yuri Cherio (cherio) - Wednesday, 09 November 2022, 18:10 GMT
Last edited by Toolybird (Toolybird) - Sunday, 21 May 2023, 03:40 GMT
|
Details
Description:
"yad-settings" declares itself as a POSIX compatible shell script with shebang "#!/bin/sh", however it looks like it is implemented to be run by bash only. /bin/sh on any system is a link which can be defaulted to any POSIX compatible shell. It is not required to point to bash. The solution is to either make the script POSIX compatible (unlikely) or change the first line of the script to reflect the fact that the script can only be executed with bash. Additional info: * package version: 12.0-1 Steps to reproduce: Run with any non-bash POSIX compatible shell, e.g. /bin/dash -c /usr/bin/yad-settings /bin/ksh -c /usr/bin/yad-settings |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 21 May 2023, 03:40 GMT
Reason for closing: Fixed
Additional comments about closing: yad 12.1-1
Sunday, 21 May 2023, 03:40 GMT
Reason for closing: Fixed
Additional comments about closing: yad 12.1-1
[1] https://github.com/v1cont/yad/issues/198