Mercurial > octave-nkf
changeset 8141:31d7885d9869
load-path.cc (load_path::do_initialize): look for OCTAVE_PATH in the environment, not OCTAVE_LOADPATH
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 24 Sep 2008 12:06:54 -0400 |
parents | cdd05e46f6c9 |
children | 54b41376e381 |
files | src/ChangeLog src/load-path.cc |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Sep 24 11:40:33 2008 -0400 +++ b/src/ChangeLog Wed Sep 24 12:06:54 2008 -0400 @@ -1,3 +1,8 @@ +2008-09-24 John W. Eaton <jwe@octave.org> + + * load-path.cc (load_path::do_initialize): Check for OCTAVE_PATH + in the environment, not OCTAVE_LOADPATH. + 2008-09-24 Thomas Weber <thomas.weber.mail@gmail.com> * DLD-FUNCTIONS/regexp.cc (octregexp_list): Retry if match limit
--- a/src/load-path.cc Wed Sep 24 11:40:33 2008 -0400 +++ b/src/load-path.cc Wed Sep 24 12:06:54 2008 -0400 @@ -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 = ".";