Skip to content

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