Skip to content

wrong directory for SqlBeautify-*.jar #2

Description

@jasonblewis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions