Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#63588 - grub-mkconfig contains bashism but uses /bin/sh shebang
Attached to Project:
Arch Linux
Opened by Xuanrui Qi (xuanrui) - Thursday, 29 August 2019, 10:20 GMT
Last edited by Christian Hesse (eworm) - Thursday, 29 August 2019, 10:43 GMT
Opened by Xuanrui Qi (xuanrui) - Thursday, 29 August 2019, 10:20 GMT
Last edited by Christian Hesse (eworm) - Thursday, 29 August 2019, 10:43 GMT
|
Detailsgrub-mkconfig contains the bashism `$EUID`, while in standard POSIX shell it should be `$(id -u)`. This breaks the script on systems where /bin/sh is not symlinked to bash, especially on systems where /bin/sh is dash, because `$EUID` does not work in dash.
|
This task depends upon
Closed by Christian Hesse (eworm)
Thursday, 29 August 2019, 10:43 GMT
Reason for closing: Not a bug
Additional comments about closing: Fallback is available.
Thursday, 29 August 2019, 10:43 GMT
Reason for closing: Not a bug
Additional comments about closing: Fallback is available.
https://git.savannah.gnu.org/cgit/grub.git/tree/util/grub-mkconfig.in?h=grub-2.04#n105