New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yad-settings doesn't work on systems with default shell being not bash #198
Comments
This was originally reported in Arch: https://bugs.archlinux.org/task/76501 |
this looks like a bug in autotools. i'm not setting interpreter by hands but set it through AC_PATH_TOOL macro in configure |
I am not an expert in packaging and assembly. I do see the source file
however the distribution package in Arch contains the script with the first lines looking as
Do you think the problem is on the distribution (Arch) side? Should Arch build and packaging process change to generate correct shebang? Sorry, as I said I am not an expert at this. 🇺🇦🇺🇦🇺🇦 |
i guess i'd fixed this in v12.1 |
Arch main repo already got the fix. Thank you! |
I am experiencing this issue in ArchLinux with /bin/sh symlinked to
dash
.yad-settings
declares itself as aPOSIX
compatible shell script with shebang#!/bin/sh
, however it looks like it is implemented to bebash
specific. Since/bin/sh
on any system is a symlink which can point to anyPOSIX
compatible shell (it is not required and shouldn't be expected to point tobash
), the shebang line should explicitly referencebash
, for instance#!/usr/bin/env bash
.The text was updated successfully, but these errors were encountered: