mirror of
https://github.com/halcyon/asdf-java.git
synced 2024-10-06 07:42:09 +08:00
Merge pull request #32 from carhartl/enable-legacy-filename-support
Add legacy filename support for jenv
This commit is contained in:
commit
945a32c71d
@ -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
1
bin/list-legacy-filenames
Symbolic link
@ -0,0 +1 @@
|
||||
functions
|
Loading…
Reference in New Issue
Block a user