Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct jHiccup.jar lookup #32

Merged
merged 1 commit into from Nov 3, 2018
Merged

Conversation

ryenus
Copy link
Contributor

@ryenus ryenus commented Sep 28, 2018

When installed on macOS using Homebrew (brew install jhiccup), the path to jHiccup.jar couldn't be correctly resolved while using jHiccupLogProcessor. There're two reasons:

  1. the readlink_f function doesn't work because /usr/local/bin/jHiccupLogProcessor is a symbol link
  2. the file jHiccup.jar isn't in the same dir as that of jHiccupLogProcessor

FYI, here's the gist for the source of the improved readlink_f:
https://gist.github.com/ryenus/88bc355515ce657b2da1d8ce1c16e4f9

When installed on macOS using Homebrew (`brew install jhiccup`), the path to `jHiccup.jar` couldn't be correctly resolved. There're two reasons:

1. the `readlink_f` function doesn't work because `/usr/local/bin/jHiccupLogProcessor` is a symbol link
2. the file `jHiccup.jar` isn't in the same dir as that of `jHiccupLogProcessor`
@giltene giltene merged commit 3aad3bb into giltene:master Nov 3, 2018
@giltene
Copy link
Owner

giltene commented Nov 3, 2018

Thanks for this. Didn't even know Homebrew did jhiccup. Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants