halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
455 stars 86 forks source link

utils.sh is the correct file name. w/ jasquat #121

Closed burnettk closed 3 years ago

burnettk commented 3 years ago

this prevents errors/warnings like the following:

~/p/p/hot-app main % java -version
/Users/kburnett/.asdf/plugins/java/bin/list-legacy-filenames: line 3: /Users/kburnett/.asdf/lib/utils.bash: No such file or directory
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_265-b01)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.265-b01, mixed mode)
joschi commented 3 years ago

@burnettk The file is named utils.bash, though:

https://github.com/asdf-vm/asdf/blob/64a1d6ba44c621ef922ab752fc3cf5e6f91cec02/lib/utils.bash (current master) https://github.com/asdf-vm/asdf/blob/v0.8.0/lib/utils.bash (latest tagged version)

It has been named that way since asdf 0.7.7: https://github.com/asdf-vm/asdf/pull/664

burnettk commented 3 years ago

@joschi oh! this is apparently the provisioning script i use: https://github.com/thoughtbot/laptop/blob/master/mac#L157. i never considered the fact that i might be out-of-date. thanks!