nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Witt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NIFI-165) The start script, nifi.sh, does not work on Mac OS X
Date Tue, 30 Dec 2014 03:30:13 GMT

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

Joseph Witt updated NIFI-165:
-----------------------------
    Fix Version/s: 0.0.1

> The start script, nifi.sh, does not work on Mac OS X
> ----------------------------------------------------
>
>                 Key: NIFI-165
>                 URL: https://issues.apache.org/jira/browse/NIFI-165
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 0.0.1
>         Environment: Mac OS X 10.9.5
> running:
> GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin13)
>            Reporter: Philip Young
>              Labels: easyfix, scripts
>             Fix For: 0.0.1
>
>
> Unfortunately, Mac OS X does not handle the use of $0 to specify the name and path of
the script that is being executed as well as other *nix, instead it is being resolved to "."
in the nifi.sh script. As a result, calls to dirname and basename are failing. 



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

Mime
View raw message