From 166295280b60b60d6adace4ae890809939ca3767 Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Wed, 24 Jul 2024 15:48:56 +0200 Subject: [PATCH] ENV variable has no _ --- src/config/config.cpp.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/config.cpp.in b/src/config/config.cpp.in index 1c6a43865..ab33ed6b0 100644 --- a/src/config/config.cpp.in +++ b/src/config/config.cpp.in @@ -81,7 +81,7 @@ std::string maybe_from_env(const std::string& varname) { } -const std::string nmodl::PathHelper::NMODL_HOME = maybe_from_env("NMODL_HOME"); +const std::string nmodl::PathHelper::NMODL_HOME = maybe_from_env("NMODLHOME"); std::string nmodl::PathHelper::get_path(const std::string& what, bool is_library) { std::vector search_paths = BASE_SEARCH_PATHS;