Skip to content

License header check needs to account for shebangs other than #!/bin/bash #261

@jakepetroules

Description

@jakepetroules

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions