Created
March 2, 2017 08:42
-
-
Save David-Guillot/dd53227141fd62ff5db6ef23c929f7b1 to your computer and use it in GitHub Desktop.
Make the SchemaCrawler shell script work from any working directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Instead of https://github.com/sualeh/SchemaCrawler/blob/master/schemacrawler-distrib/src/assembly/schemacrawler.sh
This change was suggested in https://github.com/sualeh/SchemaCrawler/pull/113/files