You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/11/14 18:57:22 UTC
[jira] [Commented] (QPID-5336) Script interpreters need to be found
on the path and not have hardcoded locations
[ https://issues.apache.org/jira/browse/QPID-5336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822683#comment-13822683 ]
ASF subversion and git services commented on QPID-5336:
-------------------------------------------------------
Commit 1541997 from [~astitcher] in branch 'qpid/trunk'
[ https://svn.apache.org/r1541997 ]
QPID-5336: Don't hardcode script interpreter location
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org