Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5336

Script interpreters need to be found on the path and not have hardcoded locations

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.25
    • 0.27
    • C++ Tests
    • None
    • Freebsd

    Description

      The qpid test scripts will not run under FreeBSD because they have a hardcoded notion that bash is found at /bin/bash. However under FreeBSD it is actually found in /usr/local/bin/bash.

      We need to change the line which says "#!/bin/bash" to "#!/usr/bin/env bash"

      There are actually a small number of places where other script interpreters have their location hardcoded too - python. ruby and perl. These all need to be "#!/usr/bin/env ...".

      The only script interpreter (that we use) that can be hardcoded is /bin/sh as this is its guaranteed location.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment