You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2024. It is now read-only.
Two /bin/sh scripts have bashism problems. Please fix them.
One is data/env_setup.sh (Line 34)
Another one is src/ui/classic/fcitx-skin-installer.sh (Line 28 and 55)
The bug report only mentioned the first issue data/env_setup.sh:34. The second script shouldn't have any issue with /bin/sh (the specific lines passed tests with dash).
The patch attached in the bug report introduce a logical error on src/ui/classic/fcitx-skin-installer.sh:55.
There's one XSI tag in type's SYNOPSIS section.
And here is some text from man checkbashisms
Note that the definition of a bashism in this context roughly equates to "a shell feature that is not required to be supported by POSIX"; this means that some issues flagged may be permitted under optional sections of POSIX, such as XSI or User Portability.
In cases where POSIX and Debian Policy disagree, checkbashisms by default allows extensions permitted by Policy but may also provide options for stricter checking.
It will be good if checkbashisms reports nothing.
Thanks
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Two /bin/sh scripts have bashism problems. Please fix them.
One is data/env_setup.sh (Line 34)
Another one is src/ui/classic/fcitx-skin-installer.sh (Line 28 and 55)
Moreinfo:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772253
Patch included there too.
Thanks
The text was updated successfully, but these errors were encountered: