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/11 15:40:04 UTC

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

Aldrin Piri created NIFI-758:
--------------------------------

             Summary: 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
            Reporter: Aldrin Piri
            Assignee: Aldrin Piri
            Priority: Minor


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)