Skip to content

Commit

Permalink
Fix failure to launch from directory with space in it (#2886)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre-Marie Padiou <[email protected]>
  • Loading branch information
thomash-acinq and pm47 authored Aug 23, 2024
1 parent c45d278 commit c440007
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit c440007

Please sign in to comment.