Closed sogaiu closed 3 years ago
I want to encourage actually using a hard-coded config rather than general environment variables like PREFIX. The default config is just that, a default. If you are installing somewhere besides /usr/local (which, btw, is the standard installation path for user installed software on linux), you just have an explicit config file without any detection in it.
I guess something like JANET_PREFIX would be ok.
I have found the /usr/local
prefix approach to not be a great fit for the situation of testing multiple versions of things within one system.
I will modify things in this PR to use JANET_PREFIX
.
How about support for the PREFIX environment variable?