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

ASF GitHub Bot commented on NIFI-4640:
--------------------------------------

GitHub user jfrazee opened a pull request:

    https://github.com/apache/nifi/pull/2302

    NIFI-4640 Sub source w/ . in nifi.sh to be POSIX compliant

    Tested against official Docker image (based on Debian stretch), Amazon 
Linux, and OS X (which doesn't run that part of the script anyway).

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

    $ git pull https://github.com/jfrazee/nifi NIFI-4640

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

    https://github.com/apache/nifi/pull/2302.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 #2302
    
----
commit 4229c3e0a1cb3d822eb19c0c4acce43a08d16c9c
Author: Joey Frazee <[email protected]>
Date:   2017-11-28T16:26:11Z

    NIFI-4640 Sub source w/ . in nifi.sh to be POSIX compliant

----


> Start script nifi.sh source not POSIX compliant
> -----------------------------------------------
>
>                 Key: NIFI-4640
>                 URL: https://issues.apache.org/jira/browse/NIFI-4640
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Roland Hopferwieser
>            Assignee: Joey Frazee
>            Priority: Trivial
>
> The source command used in nifi.sh is not a POSIX shell standard and not 
> supported by e.g. dash used by debian to run /bin/sh. Use the dot command 
> (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot)
>  instead.
> On Debian I get
>   /opt/nifi/bin/nifi.sh: 88: /opt/nifi/bin/nifi.sh: source: not found



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to