Skip to content

Instantly share code, notes, and snippets.

@David-Guillot
Created March 2, 2017 08:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save David-Guillot/dd53227141fd62ff5db6ef23c929f7b1 to your computer and use it in GitHub Desktop.
Save David-Guillot/dd53227141fd62ff5db6ef23c929f7b1 to your computer and use it in GitHub Desktop.
Make the SchemaCrawler shell script work from any working directory
DIR=$(dirname $(readlink -f "$0"))
java -cp $(echo $DIR/lib/*.jar | tr ' ' ':'):config schemacrawler.Main "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment