[
https://issues.apache.org/jira/browse/PIO-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15755126#comment-15755126
]
ASF GitHub Bot commented on PIO-46:
-----------------------------------
Github user dszeto commented on the issue:
https://github.com/apache/incubator-predictionio/pull/319
Thanks @haginot !
> On BSD machines the pio command does not work
> ----------------------------------------------
>
> Key: PIO-46
> URL: https://issues.apache.org/jira/browse/PIO-46
> Project: PredictionIO
> Issue Type: Bug
> Affects Versions: 0.10.0-incubating
> Environment: MacOS Sierra version 10.12.1
> Reporter: Takahiro Hagino
>
> Thanks for pio script's supporting soft link.
> #289 https://github.com/apache/incubator-predictionio/pull/289
> But readlink -f doesn't seem to work on Mac and possibly BSD based systems.
> As execute pio script, the following errors occurs.
> ```
> readlink: illegal option -- f
> usage: readlink [-n] [file ...]
> usage: dirname path
> bin/pio: line 45: //bin/pio-class: No such file or directory
> bin/pio: line 45: exec: //bin/pio-class: cannot execute: No such file or
> directory
> ```
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)