Skip to content

It doesn't work on mac? #8

Closed
Closed
@nepaul

Description

@nepaul

errors!!!!!

hubot> hubot shellcmd
hubot> spawn!
readlink: illegal option -- f
usage: readlink [-n] [file ...]

ls: ./handlers: No such file or directory

available commands:

Activity

Harwood

Harwood commented on Dec 16, 2016

@Harwood

I ran into this issue. If this is being run on macOS then the GNU version of readlink needs to be installed.

brew install coreutils

Replace instances of readlink with greadlink in bash/handler and all files in bash/handlers/.

coderofsalvation

coderofsalvation commented on Dec 20, 2016

@coderofsalvation
Owner

Thx for the solution. Probably brew install coreutils --default-names will make readlink directly available (and link greadlink to readlink).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @coderofsalvation@nepaul@Harwood

        Issue actions

          It doesn't work on mac? · Issue #8 · coderofsalvation/hubot-script-shellcmd