Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cli] Launch script fails if run via "bash pmd" #4640

Merged
merged 2 commits into from Oct 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pmd-dist/src/main/resources/scripts/pmd
Expand Up @@ -52,7 +52,7 @@ set_lib_dir() {
if [ -L "$0" ]; then
local script_real_loc=$(readlink "$0")
else
local script_real_loc=$0
local script_real_loc=${BASH_SOURCE[0]}
shai-bennathan marked this conversation as resolved.
Show resolved Hide resolved
fi
local script_dir=$(dirname "${script_real_loc}")

Expand Down