Commit 8101fd1
Fabian Stegemann
use ASDF_DIR variable to support Homebrew installs (#428)
Currently the `launch.sh` script will check for asdf in my home directory.
As I am a Homebrew user, my asdf got installed to `/usr/local/opt/asdf`.
For `launch.sh` to be able to detect it I've modified it for the use of `ASDF_DIR` if available and fall-back to the current behaviour if that's not set.
asdf will set the [`ASDF_DIR` (see upstream source)][1] variable when it initializes, so this seems to be a reliable way to detect all sorts of customized asdf installations.
[1]: https://github.com/asdf-vm/asdf/blob/master/asdf.sh#L141 parent 63d10b3 commit 8101fd1
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments