You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2015/07/27 05:40:05 UTC

[jira] [Updated] (NIFI-758) Update nifi.sh to use POSIX compliant syntax

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

Aldrin Piri updated NIFI-758:
-----------------------------
    Attachment: 0001-NIFI-758-Defaulting-to-POSIX-compliant-single-bracke.patch

> Update nifi.sh to use POSIX compliant syntax
> --------------------------------------------
>
>                 Key: NIFI-758
>                 URL: https://issues.apache.org/jira/browse/NIFI-758
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.2.0, 0.2.1
>            Reporter: Aldrin Piri
>            Assignee: Aldrin Piri
>            Priority: Minor
>         Attachments: 0001-NIFI-758-Defaulting-to-POSIX-compliant-single-bracke.patch
>
>
> In environments where bash or bash-compatible shell is not the default (small form factors use dash), the [[ test syntax is not valid and will cause those parts of the script to be ignored due to an error when being evaluated.
> This is preferable to forcing bash execution via the shebang line for the sake of maximizing portability. 



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