Merge pull request #32 from carhartl/enable-legacy-filename-support

Add legacy filename support for jenv
This commit is contained in:
Scott McLeod 2019-12-02 20:03:09 -05:00 committed by GitHub
commit 945a32c71d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -85,6 +85,10 @@ function list-all() {
echo $(all-json | jq -r "${hotspot}" ; all-json | jq -r "${openj9_normal_heap}" ; all-json | jq -r "${openj9_large_heap}")
}
function list-legacy-filenames() {
echo ".java-version"
}
function install {
check-jq
retrieve-json
@ -126,6 +130,8 @@ function install {
case `basename ${0}` in
list-all) list-all
;;
list-legacy-filenames) list-legacy-filenames
;;
install) install
;;
esac

1
bin/list-legacy-filenames Symbolic link
View File

@ -0,0 +1 @@
functions