Actions
Bug #3043
closedcert-staple.sh not POSIX compatible
ASK QUESTIONS IN Forums:
No
Description
I tried to configure OCSP and found, that the provided script doc/scripts/cert-staple.sh does not run with the Debian standard shell due to bashisms.
Either the shebang of the script should be changed to
#!/bin/bashor made POSIX compatible (see attached patch).
Files
Updated by gstrauss almost 4 years ago
Ah, I think you are referring to the stunted cripple that is /bin/dash.
I'll probably change the shebang line. As much as I am a fan of the standards, I will probably conclude that this instance falls into the same category as POSIX_ME_HARDER.
Thanks for the report.
Updated by flynn almost 4 years ago
I just used shellcheck and fixed most of the issues.
Updated by stbuehler almost 4 years ago
The diff looks reasonable to me; there is zero need for the bash-style "tests" and the quoting looks fine.
Updated by gstrauss almost 4 years ago
- Status changed from Patch Pending to Fixed
Applied in changeset 8a2f9c1173cd1fbf4a78e942072c7a13df64c2be.
Actions
Also available in: Atom