Summary: | x11-base/xorg-server-1.13.0-r1 - bashism in init.d script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | iGentoo <AlphatPC> |
Component: | [OLD] Unspecified | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | QA | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
xorg-server-1.13.0-r1-build.tar.xz
bashism.patch xdm rcscript patch |
Description
iGentoo
2012-12-17 03:18:39 UTC
Created attachment 332532 [details]
xorg-server-1.13.0-r1-build.tar.xz
Created attachment 332534 [details, diff]
bashism.patch
'type' is an XSI POSIX extension and is supported by many shells http://pubs.opengroup.org/onlinepubs/009695399/utilities/type.html Also see bug 442028. 'type' probably will not be removed even from openrc. Also 'command -v' can be used instead of 'type' Having checked with ash (busybox) and dash neither has any issue with type. It also seems to be POSIX-2008/SUSv4 [1] So, most likely this is just a failure in checkbashism. Still, I'll attatch a patch. [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/type.html Created attachment 347612 [details, diff]
xdm rcscript patch
type is an XSI extension. As such it is not a "bashism" but not strictly POSIX either. |