# HG changeset patch # User John W. Eaton # Date 1222272414 14400 # Node ID 31d7885d98690ca9823082227870063bfb43514c # Parent cdd05e46f6c975ca8b66fd52b20aca92eba84d49 load-path.cc (load_path::do_initialize): look for OCTAVE_PATH in the environment, not OCTAVE_LOADPATH diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-09-24 John W. Eaton + + * load-path.cc (load_path::do_initialize): Check for OCTAVE_PATH + in the environment, not OCTAVE_LOADPATH. + 2008-09-24 Thomas Weber * DLD-FUNCTIONS/regexp.cc (octregexp_list): Retry if match limit diff --git a/src/load-path.cc b/src/load-path.cc --- a/src/load-path.cc +++ b/src/load-path.cc @@ -443,7 +443,7 @@ std::string tpath = load_path::command_line_path; if (tpath.empty ()) - tpath = octave_env::getenv ("OCTAVE_LOADPATH"); + tpath = octave_env::getenv ("OCTAVE_PATH"); std::string xpath = ".";