Skip to content

Commit

Permalink
Merge pull request #3 from xiaoyuandajian/fix-#2062
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuan1223 committed Jan 4, 2023
2 parents e797029 + c40b5f3 commit ce8cab9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,4 @@ jobs:
- name: checkout files in bin
uses: azohra/shell-linter@latest
with:
path: "bin"
severity: "error"
path: "bin"
3 changes: 2 additions & 1 deletion bin/load-kyuubi-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ fi

export KYUUBI_WORK_DIR_ROOT="${KYUUBI_WORK_DIR_ROOT:-"${KYUUBI_HOME}/work"}"
if [[ ! -e ${KYUUBI_WORK_DIR_ROOT} ]]; then
mkdir -p ${KYUUBI_WORK_DIR_ROOT}
mkdir -p "${KYUUBI_WORK_DIR_ROOT}"
fi

if [[ -z ${JAVA_HOME} ]]; then
if [[ $(command -v java) ]]; then
# shellcheck disable=SC2155
export JAVA_HOME="$(dirname $(dirname $(which java)))"
fi
fi
Expand Down

0 comments on commit ce8cab9

Please sign in to comment.