[ 
https://issues.apache.org/jira/browse/KARAF-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15611865#comment-15611865
 ] 

ASF GitHub Bot commented on KARAF-4806:
---------------------------------------

GitHub user skitt opened a pull request:

    https://github.com/apache/karaf/pull/257

    KARAF-4806: specify /bin/bash for scripts with bashisms

    The client, instance and shell scripts use ulimit and type, but these
    are bashisms. In some environments (e.g. Solaris, Debian) /bin/sh
    isn't bash.
    
    Signed-off-by: Stephen Kitt <sk...@redhat.com>
    (cherry picked from commit 9e72b9357d20de866abce7391cdc41ba616f3a75)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/skitt/karaf karaf-4.0.x-4806

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/karaf/pull/257.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #257
    
----
commit 06cb9d01622684f564d06e43c45c57132b7d2f09
Author: Stephen Kitt <sk...@redhat.com>
Date:   2016-10-27T13:10:22Z

    KARAF-4806: specify /bin/bash for scripts with bashisms
    
    The client, instance and shell scripts use ulimit and type, but these
    are bashisms. In some environments (e.g. Solaris, Debian) /bin/sh
    isn't bash.
    
    Signed-off-by: Stephen Kitt <sk...@redhat.com>
    (cherry picked from commit 9e72b9357d20de866abce7391cdc41ba616f3a75)

----


> Some shell scripts include bashisms but use a /bin/sh shebang
> -------------------------------------------------------------
>
>                 Key: KARAF-4806
>                 URL: https://issues.apache.org/jira/browse/KARAF-4806
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.8, 4.0.7
>            Reporter: Stephen Kitt
>
> The client, instance and shell scripts use ulimit and type, but these are 
> bashisms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to