When I run beautify-sql, it gets the incorrect directory for the lib:
./bin/beautify-sql: 6: ./bin/beautify-sql: BASH_SOURCE: parameter not set
Error: Unable to access jarfile /home/jason/source/lib/SqlBeautify-*.jar
It's because of the LIB_DIR=$(dirname $DIR)/lib line in the script which (incorrectly I believe) removes the directory SqlBeautify from the path.
When I run beautify-sql, it gets the incorrect directory for the lib:
It's because of the
LIB_DIR=$(dirname $DIR)/libline in the script which (incorrectly I believe) removes the directory SqlBeautify from the path.