[
https://issues.apache.org/jira/browse/QPID-5336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Stitcher updated QPID-5336:
----------------------------------
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.
was:
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"}}
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]