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

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

Thanks for the quick reply.

I am running the following:
{code}
bash-3.2$ ./bin/nifi.sh start
readlink: illegal option -- f
usage: readlink [-n] [file ...]
usage: dirname path
readlink: illegal option -- f
usage: readlink [-n] [file ...]
Directory changed to NIFI_HOME of ''
nifi.sh: NIFI_HOME is not valid: 
{code}

And yes, I am running of the master branch.

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