Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINA_KEYS_PATH (breaking) #9114

Merged
merged 7 commits into from
Jul 21, 2021
Merged
11 changes: 3 additions & 8 deletions src/lib/cache_dir/cache_dir.ml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,10 @@ let cache =
]

let env_path =
(* TODO: remove deprecated variable, eventually *)
let mina_keys_path = "MINA_KEYS_PATH" in
let coda_keys_path = "CODA_KEYS_PATH" in
match (Sys.getenv mina_keys_path, Sys.getenv coda_keys_path) with
| Some path, _ ->
match Sys.getenv "MINA_KEYS_PATH" with
| Some path ->
path
| None, Some path ->
path
| None, None ->
| None ->
manual_install_path

let possible_paths base =
Expand Down