qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-5336) Script interpreters need to be found on the path and not have hardcoded locations
Date Thu, 14 Nov 2013 18:21:27 GMT

     [ https://issues.apache.org/jira/browse/QPID-5336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Stitcher resolved QPID-5336.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.27

I have fixed every instance of this problem in the whole source tree at this point.

> Script interpreters need to be found on the path and not have hardcoded locations
> ---------------------------------------------------------------------------------
>
>                 Key: QPID-5336
>                 URL: https://issues.apache.org/jira/browse/QPID-5336
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.25
>         Environment: Freebsd
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: 0.27
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message