Browse Source

Merge pull request #404 from jsoref/issue-403

Fix jenv-add with missing versions directory
pull/334/merge
Barnesly 2 years ago committed by GitHub
parent
commit
cfaf62bed6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      libexec/jenv-add

1
libexec/jenv-add

@ -61,6 +61,7 @@ function add_alias(){ @@ -61,6 +61,7 @@ function add_alias(){
cd "${JENV_JAVAPATH}"
JENV_JAVAPATH=$PWD
cd - 2>&1 > /dev/null
mkdir -p "${JENV_ROOT}/versions"
ln -s "${JENV_JAVAPATH}" "${JENV_ROOT}/versions/$1"
touch ${JENV_ROOT}/$1.time
cinfo "$1 added"

Loading…
Cancel
Save