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

Bash fixes for Mac (10.12) compatibility #250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

safisher
Copy link

I was unable to run owltools on the Mac (OS X 10.12). The following changes were required.

Note that I did not test this on any other systems but I added a test to the script see if it's running on a Mac and if so then the following changes are implemented. If not running on a Mac then there should be no change in behavior.

  1. Need double quotes around $0.
  2. Need to include jar files in class path.
  3. Used MY_DIR instead of PATH_TO_SELF in classpath.

1. Need double quotes around $0.
2. Need to include jar files in class path.
3. Used MY_DIR instead of PATH_TO_SELF in classpath.
@safisher
Copy link
Author

safisher commented May 1, 2018

Apparently this fix is specific to the case where the owltools script has a path that contains spaces. For example "/Users/Bob/My Scripts/owltools". If the path to owltools does not contain spaces then this fix is not necessary.

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.

1 participant