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

Fix failure to launch from directory with space in it #2886

Merged
merged 2 commits into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eclair-node/src/main/resources/eclair-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ declare -r real_script_path="$(realpath "$0")"
declare -r app_home="$(realpath "$(dirname "$real_script_path")")"
declare -r lib_dir="$(realpath "${app_home:0:${#app_home}-4}/lib")" # {app_home:0:${#app_home}-4} transforms ../bin in ../
declare -a app_mainclass=("fr.acinq.eclair.Boot")
declare -a app_entrypoint=$(ls $lib_dir |grep eclair-node) # TODO: improve this
declare -a app_entrypoint=$(ls "$lib_dir" | grep eclair-node) # TODO: improve this
declare -a app_classpath=("$lib_dir:$lib_dir/$app_entrypoint")

# java_cmd is overrode in process_args when -java-home is used
Expand Down
Loading