Feature #2192
Make scripts POSIX compliant - Stop using #!/bin/bash
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2014-07-27
Due date:
% Done:
0%
Estimated time:
Description
Hi,
This would help multi platform compatibility. In most cases, existing scripts are already POSIX compliant. I haven't submitted any pull request because it also requires the tvheadend developers change their habits! And not make any more bash scripts.
Compliance of shell scripts to POSIX standard can be checked with this program:
https://github.com/koalaman/shellcheck
If you decided to change your habits, I would be happy to submit a changeset for the existing scripts on master branch.
Many thanks.
History
Updated by Dreamcat 4 over 10 years ago
Dreamcat 4 wrote:
This would help multi platform compatibility.
In particular FreeBSD since we are tired of patching this.
Updated by Jaroslav Kysela over 10 years ago
- Status changed from New to Fixed
Fixed in v3.9-1283-g7d3a65d . If we use any bashism in the future, just ping us..