forked from phoedos/pmd
Allow symlinking the run script
This commit is contained in:
parent
a0be9712dd
commit
b75ca07e8e
@ -61,7 +61,9 @@ java_heapsize_settings() {
|
||||
|
||||
set_lib_dir() {
|
||||
if [ -z ${LIB_DIR} ]; then
|
||||
local script_dir=$(dirname "${0}")
|
||||
# Allow for symlinks to this script
|
||||
local script_real_loc=$(realpath "$0")
|
||||
local script_dir=$(dirname "${script_real_loc}")
|
||||
local cwd="${PWD}"
|
||||
|
||||
cd "${script_dir}/../lib"
|
||||
|
Loading…
x
Reference in New Issue
Block a user