Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15534

Consistently use /usr/bin/env in script shebangs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      #!/bin/bash is used consistently throughout the project, but we should coalesce around the better option of #!/usr/bin/env bash

      It would be even better if we could add a gradle task to ensure this for all files in the project, regardless of if the file is a bash script or not. We should ensure that #!/usr/bin/env is used for all shebangs throughout the project.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              houston Houston Putman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: