File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ resolve_symlinks() {
7474 # 4) append the basename
7575 sym=" $( readlink " $cur_path " ) "
7676 sym_base=" $( cd -P -- " $( dirname -- " $cur_path " ) " > /dev/null && pwd -P) "
77- cur_path=" $( cd " $sym_base " && cd " $( dirname -- " $sym " ) " && pwd -P) /$( basename -- " $sym " ) "
77+ cur_path=" $( cd " $sym_base " && cd " $( dirname -- " $sym " ) " && pwd -P) /$( basename " $sym " ) "
7878 done
7979 result=" $cur_path "
8080}
@@ -83,7 +83,7 @@ resolve_symlinks() {
8383
8484# get the absolute path of the executable
8585BASE_DIR=" $( cd -P -- " $( dirname -- " $BASH_SOURCE " ) " > /dev/null && pwd -P) "
86- resolve_symlinks " $BASE_DIR /$( basename -- " $BASH_SOURCE " ) "
86+ resolve_symlinks " $BASE_DIR /$( basename " $BASH_SOURCE " ) "
8787SELF_PATH=" $result "
8888
8989JRUBY_HOME=" ${SELF_PATH%/*/* } "
You can’t perform that action at this time.
0 commit comments