This is overly restrictive:
|
sh) comment_marker='##'; header_prefix=$'#!/bin/bash\n' ;; |
On some platforms, bash is not located at /bin/bash. For example, on FreeBSD it's at /usr/local/bin/bash, making #!/usr/bin/env bash necessary for maximum portability.
This is overly restrictive:
github-workflows/.github/workflows/scripts/check-license-header.sh
Line 98 in 3b5576d
On some platforms, bash is not located at
/bin/bash. For example, on FreeBSD it's at/usr/local/bin/bash, making#!/usr/bin/env bashnecessary for maximum portability.