Mercurial > octave-nkf
changeset 11856:ee51db2f6a6a release-3-0-x
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 | Mon, 29 Sep 2008 07:21:47 +0200 |
parents | eff8ac793dbf |
children | 588660d73fa1 |
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 14:08:58 2008 +0200 +++ b/src/ChangeLog Mon Sep 29 07:21:47 2008 +0200 @@ -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-18 David Bateman <dbateman@free.fr> * DLD-FUNCTIONS/fftw.cc (Ffftw): Clarify the documentation.
--- a/src/load-path.cc Wed Sep 24 14:08:58 2008 +0200 +++ b/src/load-path.cc Mon Sep 29 07:21:47 2008 +0200 @@ -374,7 +374,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 = ".";