Commit f092c9c1 authored by Mark's avatar Mark

ci: fix set-jdk syntax

parent 099f9936
......@@ -5,7 +5,7 @@ function set_jdk() {
fi
dir=$1
if [[ -z $dir ]]; then
if [[ -z ${dir} ]]; then
dir=${TRAVIS_BUILD_DIR}
fi
......@@ -23,7 +23,7 @@ function set_jdk() {
esac
if [[ -z ${version} ]]; then
version=${jenv versions | tail -1 | sed s/*//)
version=$(jenv versions | tail -1 | sed s/*//)
fi
if [[ -z ${version} ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment