Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions