Skip to content

Commit

Permalink
ENV variable has no _
Browse files Browse the repository at this point in the history
  • Loading branch information
matz-e committed Jul 24, 2024
1 parent e7165e7 commit 1662952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/config.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string> search_paths = BASE_SEARCH_PATHS;
Expand Down

0 comments on commit 1662952

Please sign in to comment.