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

Philip Young commented on NIFI-165:
-----------------------------------

What Drew did was essentially the approach that I took as well. Obviously, best 
if you don't have to mess with the script to get it running. 

> 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
>
> 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)

Reply via email to